Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

debug: now show available variables

  • Loading branch information...
commit b08b08880629badeec74bfd02b1a022885f19f66 1 parent 43cb617
@fdev31 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  drink/
3  drink/
@@ -872,7 +872,8 @@ def inp(txt):
import code
import drink
with db as root:
- code.interact('Drink developper shell !', local={'db': root, 'drink': drink})
+ l = {'db': root, 'drink': drink}
+ code.interact('Shell variables: %s'%', '.join(l.keys()), local=l)
from beaker.middleware import SessionMiddleware
Please sign in to comment.
Something went wrong with that request. Please try again.