|
@ -18,6 +18,7 @@ |
|
|
|
|
|
|
|
|
from __future__ import print_function |
|
|
from __future__ import print_function |
|
|
import code |
|
|
import code |
|
|
|
|
|
import logging |
|
|
import os |
|
|
import os |
|
|
import signal |
|
|
import signal |
|
|
import sys |
|
|
import sys |
|
@ -62,6 +63,7 @@ class Shell(Command): |
|
|
' to get one.') |
|
|
' to get one.') |
|
|
for i in sorted(local_vars): |
|
|
for i in sorted(local_vars): |
|
|
print('%s: %s' % (i, local_vars[i])) |
|
|
print('%s: %s' % (i, local_vars[i])) |
|
|
|
|
|
logging.disable(logging.CRITICAL) |
|
|
Console(locals=local_vars).interact() |
|
|
Console(locals=local_vars).interact() |
|
|
|
|
|
|
|
|
def shell(self, dbname): |
|
|
def shell(self, dbname): |
|
|