Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
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
Arnaud Fontaine
apachedex
Commits
a2f7c7ba
Commit
a2f7c7ba
authored
Apr 11, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use print_exc directly.
parent
407d20fe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apachedex/__init__.py
apachedex/__init__.py
+1
-1
No files found.
apachedex/__init__.py
View file @
a2f7c7ba
...
@@ -1381,7 +1381,7 @@ def main():
...
@@ -1381,7 +1381,7 @@ def main():
if
not
quiet
:
if
not
quiet
:
print
>>
sys
.
stderr
,
'Error analysing line at %s:%i: %r'
%
(
filename
,
print
>>
sys
.
stderr
,
'Error analysing line at %s:%i: %r'
%
(
filename
,
lineno
,
line
)
lineno
,
line
)
print
>>
sys
.
stderr
,
traceback
.
format_exc
(
)
traceback
.
print_exc
(
file
=
sys
.
stderr
)
all_lines
+=
lineno
all_lines
+=
lineno
if
show_progress
:
if
show_progress
:
print
>>
sys
.
stderr
,
lineno
print
>>
sys
.
stderr
,
lineno
...
...
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