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
886cdb1e
Commit
886cdb1e
authored
Nov 17, 2006
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error=sys.exc_info() -> exc_info=True *SIGH*
parent
ca12da8d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
lib/python/OFS/ObjectManager.py
lib/python/OFS/ObjectManager.py
+1
-1
lib/python/Products/BTreeFolder2/BTreeFolder2.py
lib/python/Products/BTreeFolder2/BTreeFolder2.py
+2
-2
lib/python/Products/PythonScripts/PythonScript.py
lib/python/Products/PythonScripts/PythonScript.py
+1
-1
lib/python/Products/Sessions/SessionDataManager.py
lib/python/Products/Sessions/SessionDataManager.py
+1
-1
lib/python/Products/Transience/Transience.py
lib/python/Products/Transience/Transience.py
+3
-3
No files found.
lib/python/OFS/ObjectManager.py
View file @
886cdb1e
...
...
@@ -677,7 +677,7 @@ class ObjectManager(
stat
=
marshal
.
loads
(
v
.
manage_FTPstat
(
REQUEST
))
except
:
logger
.
error
(
"Failed to stat file '%s'"
%
k
,
e
rror
=
sys
.
exc_info
()
)
e
xc_info
=
True
)
stat
=
None
if
stat
is
not
None
:
out
=
out
+
((
k
,
stat
),)
...
...
lib/python/Products/BTreeFolder2/BTreeFolder2.py
View file @
886cdb1e
...
...
@@ -193,7 +193,7 @@ class BTreeFolder2Base (Persistent):
return
1
except
AssertionError
:
LOG
.
warn
(
'Detected damage to %s. Fixing now.'
%
path
,
e
rror
=
sys
.
exc_info
()
)
e
xc_info
=
True
)
try
:
self
.
_tree
=
OOBTree
(
self
.
_tree
)
mt_index
=
OOBTree
()
...
...
@@ -202,7 +202,7 @@ class BTreeFolder2Base (Persistent):
self
.
_mt_index
=
mt_index
except
:
LOG
.
error
(
'Failed to fix %s.'
%
path
,
e
rror
=
sys
.
exc_info
()
)
e
xc_info
=
True
)
raise
else
:
LOG
.
info
(
'Fixed %s.'
%
path
)
...
...
lib/python/Products/PythonScripts/PythonScript.py
View file @
886cdb1e
...
...
@@ -440,7 +440,7 @@ class PythonScript(Script, Historical, Cacheable):
else
:
self
.
_makeFunction
()
except
:
LOG
.
error
(
'write failed'
,
e
rror
=
sys
.
exc_info
()
)
LOG
.
error
(
'write failed'
,
e
xc_info
=
True
)
raise
def
manage_FTPget
(
self
):
...
...
lib/python/Products/Sessions/SessionDataManager.py
View file @
886cdb1e
...
...
@@ -284,7 +284,7 @@ class SessionDataManagerTraverser(Persistent):
getSessionData
=
sdm
.
getSessionData
except
:
msg
=
'Session automatic traversal failed to get session data'
logger
.
warn
(
msg
,
e
rror
=
sys
.
exc_info
()
)
logger
.
warn
(
msg
,
e
xc_info
=
True
)
return
# set the getSessionData method in the "lazy" namespace
...
...
lib/python/Products/Transience/Transience.py
View file @
886cdb1e
...
...
@@ -801,7 +801,7 @@ class TransientObjectContainer(SimpleItem):
err
=
'No such onAdd/onDelete method %s referenced via %s'
LOG
.
warning
(
err
%
(
callback
,
'/'
.
join
(
path
)),
e
rror
=
sys
.
exc_info
()
e
xc_info
=
True
()
)
return
else
:
...
...
@@ -822,7 +822,7 @@ class TransientObjectContainer(SimpleItem):
LOG
.
warning
(
'%s failed when calling %s in %s'
%
(
name
,
callback
,
'/'
.
join
(
path
)),
e
rror
=
sys
.
exc_info
()
e
xc_info
=
True
()
)
finally
:
setSecurityManager
(
sm
)
...
...
@@ -831,7 +831,7 @@ class TransientObjectContainer(SimpleItem):
path
=
self
.
getPhysicalPath
()
LOG
.
warning
(
err
%
(
name
,
'/'
.
join
(
path
),
callback
),
e
rror
=
sys
.
exc_info
()
e
xc_info
=
True
()
)
def
getId
(
self
):
...
...
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