Skip to content

Commit

Permalink
Remove ipdb from --pdb handlers
Browse files Browse the repository at this point in the history
Ipdb can cause problems because both orochi and ipdb use readline.
  • Loading branch information
dbrgn committed Jan 8, 2016
1 parent 79f0c32 commit 14acff1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions orochi/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,11 +814,7 @@ def main():
main()
except Exception as ex:
if '--pdb' in sys.argv:
try:
import ipdb
ipdb.set_trace()
except ImportError:
import pdb
pdb.set_trace()
import pdb
pdb.set_trace()
else:
raise

0 comments on commit 14acff1

Please sign in to comment.