print_ is not optional

This commit is contained in:
Gabriel Falcão 2010-04-19 00:37:38 -03:00
parent d6dbb12f20
commit 6fd399c120
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class Shell(object):
def __getattr__(self, attr):
if attr.startswith("print_"):
if not attr.startswith("_"):
if _sep2 in attr:
self._in_format = True
printers = map(self._printer_for, attr.split(_sep2))