Skip to content

Commit

Permalink
Enable --debug flag in test application.
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Sep 13, 2013
1 parent 0d91e6f commit abae25a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/pytmdb3.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@
print "Version: "+__version__
sys.exit(0)

# TODO: make this actually do something
# if opts.debug:
# DEBUG = True

if opts.nocache:
set_cache(engine='null')
else:
set_cache(engine='file', filename='/tmp/pytmdb3.cache')

if opts.debug:
request.DEBUG = True

banner = 'PyTMDB3 Interactive Shell.'
import code
try:
Expand Down

0 comments on commit abae25a

Please sign in to comment.