Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
ZEO
Commits
84749093
Commit
84749093
authored
Mar 11, 2002
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
string module free zone
parent
469b47a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/zLOG/FormatException.py
src/zLOG/FormatException.py
+4
-5
No files found.
src/zLOG/FormatException.py
View file @
84749093
...
...
@@ -11,9 +11,9 @@
# FOR A PARTICULAR PURPOSE
#
##############################################################################
__version__
=
'$Revision: 1.
4
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
import
s
tring
,
s
ys
import
sys
format_exception_only
=
None
...
...
@@ -47,8 +47,7 @@ def format_exception(etype, value, tb, limit=None, delimiter='\n',
except
:
pass
tb
=
tb
.
tb_next
n
=
n
+
1
result
.
append
(
string
.
join
(
format_exception_only
(
etype
,
value
),
' '
))
result
.
append
(
' '
.
join
(
format_exception_only
(
etype
,
value
)))
if
trailer
:
result
.
append
(
trailer
)
return
string
.
join
(
result
,
delimiter
)
return
delimiter
.
join
(
result
)
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