Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
2f84c73c
Commit
2f84c73c
authored
Mar 23, 1998
by
Jeffrey Shell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made friendlier default Standard Error Message
parent
5de6d548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
lib/python/OFS/Application.py
lib/python/OFS/Application.py
+27
-4
No files found.
lib/python/OFS/Application.py
View file @
2f84c73c
...
...
@@ -11,8 +11,8 @@
__doc__
=
'''Application support
$Id: Application.py,v 1.5
6 1998/03/23 15:01:22
jeffrey Exp $'''
__version__
=
'$Revision: 1.5
6
$'
[
11
:
-
2
]
$Id: Application.py,v 1.5
7 1998/03/23 20:18:17
jeffrey Exp $'''
__version__
=
'$Revision: 1.5
7
$'
[
11
:
-
2
]
import
Globals
,
Folder
,
os
,
regex
,
sys
...
...
@@ -26,8 +26,28 @@ from ImageFile import ImageFile
_standard_error_msg
=
'''
\
<!--#var standard_html_header-->
<H2>Error: <!--#var error_type-->, <!--#var error_value--></H2>
<!-- <!--#var error_tb--> -->
<!--#if error_message-->
<!--#var error_message-->
<!--#else-->
<TABLE BORDER="0" WIDTH="100%">
<TR>
<TD WIDTH="10%" ALIGN="CENTER">
<STRONG><FONT SIZE="+6" COLOR="#77003B">!</FONT></STRONG>
</TD>
<TD WIDTH="90%"><BR>
<FONT SIZE="+2">Principia Unavailable</FONT>
<P>This Principia site is currently experiencing technical difficulties.
Please contact the site administrator for more information. For
additional technical information, please refer to the HTML source for this
page. Thank you for your patience.</P>
</TD>
</TR>
</TABLE>
<!--#comment-->
Here, events like logging and other actions may also be performed, such as
sending mail automatically to the administrator.
<!--#/comment-->
<!--#endif-->
<!--#var standard_html_footer-->'''
class
Application
(
Folder
.
Folder
):
...
...
@@ -378,6 +398,9 @@ class Misc_:
##############################################################################
#
# $Log: Application.py,v $
# Revision 1.57 1998/03/23 20:18:17 jeffrey
# Made friendlier default Standard Error Message
#
# Revision 1.56 1998/03/23 15:01:22 jeffrey
# Added custom error message support
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment