don't print extra error info to stdout

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@136 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 2001-06-24 15:14:06 +00:00
parent 5810aa9967
commit b68a700595
2 changed files with 7 additions and 6 deletions

View File

@ -262,7 +262,7 @@ class T1CharString(T2CharString):
operators = _buildOperatorDict(t1Operators)
def decompile(self):
if hasattr(self, "program"):
if self.program is not None:
return
program = []
index = 0

View File

@ -167,6 +167,7 @@ class PSInterpreter(PSOperators):
self.tokenizer = None
finally:
if self.tokenizer is not None:
if 0:
print 'ps error:\n- - - - - - -'
print self.tokenizer.buf[self.tokenizer.pos-50:self.tokenizer.pos]
print '>>>'