Skip to content

Commit

Permalink
dirty workaround for .pdbrc being read during regrtests
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Sep 23, 2010
1 parent 189f38a commit 9149230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdbrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import rlcompleter
pdb.Pdb.complete = rlcompleter.Completer(locals()).complete
import os, rlcompleter
if not os.environ.get('IN_REGRTEST'): pdb.Pdb.complete = rlcompleter.Completer(locals()).complete

0 comments on commit 9149230

Please sign in to comment.