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
f4dfc5f9
Commit
f4dfc5f9
authored
Oct 25, 1996
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in handling of import errors.
parent
8f4001ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/python/ZPublisher/Publish.py
lib/python/ZPublisher/Publish.py
+7
-3
No files found.
lib/python/ZPublisher/Publish.py
View file @
f4dfc5f9
...
...
@@ -522,7 +522,7 @@ Publishing a module using the ILU Requestor (future)
o Configure the web server to call module_name@server_name with
the requestor.
$Id: Publish.py,v 1.2
1 1996/10/15 15:45:35
jim Exp $"""
$Id: Publish.py,v 1.2
2 1996/10/25 19:34:27
jim Exp $"""
#'
# Copyright
#
...
...
@@ -575,6 +575,9 @@ $Id: Publish.py,v 1.21 1996/10/15 15:45:35 jim Exp $"""
# (540) 371-6909
#
# $Log: Publish.py,v $
# Revision 1.22 1996/10/25 19:34:27 jim
# Fixed bug in handling of import errors.
#
# Revision 1.21 1996/10/15 15:45:35 jim
# Added tuple argument type and enhances error handling.
#
...
...
@@ -667,7 +670,7 @@ $Id: Publish.py,v 1.21 1996/10/15 15:45:35 jim Exp $"""
#
#
#
__version__
=
'$Revision: 1.2
1
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.2
2
$'
[
11
:
-
2
]
def
main
():
...
...
@@ -1413,7 +1416,8 @@ def publish_module(module_name,
must_die
=
1
response
.
exception
(
must_die
)
except
ImportError
,
v
:
sys
.
exc_type
,
sys
.
exc_value
,
sys
.
exc_traceback
=
v
if
type
(
v
)
==
types
.
TupleType
&&
len
(
v
)
==
3
:
sys
.
exc_type
,
sys
.
exc_value
,
sys
.
exc_traceback
=
v
must_die
=
1
response
.
exception
(
must_die
)
except
:
...
...
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