Skip to content

Conversation

stonebig
Copy link

No description provided.

Comment on lines +339 to +341
print ('-'*40)
print ('Exception happened during processing of request from',)
print (client_address)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print ('-'*40)
print ('Exception happened during processing of request from',)
print (client_address)
print('-'*40)
print('Exception happened during processing of request from',)
print(client_address)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surely you wand to replace line 340 with print('...', end='')?

import traceback
traceback.print_exc() # XXX But this goes to stderr!
print '-'*40
print ('-'*40)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
print ('-'*40)
print('-'*40)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants