Skip to content
Browse files

* decompyle/: remove verbose debugging output, for now.

  • Loading branch information...
1 parent ef3799c commit a37e77f42aa3bfb1a9645b7826ee7b738dd225e5 _why committed May 5, 2008
Showing with 6 additions and 10 deletions.
  1. +4 −4 decompyle/decompyle/__init__.py
  2. +2 −2 decompyle/decompyle/spark.py
  3. +0 −4 decompyle/scripts/decompyle
View
8 decompyle/decompyle/__init__.py
@@ -208,7 +208,7 @@ def _get_outstream(outfile):
if do_verify:
try:
verify.compare_code_with_srcfile(infile, outfile)
- print "+++ okay decompyling", infile, __memUsage()
+ #print "+++ okay decompyling", infile, __memUsage()
okay_files += 1
except verify.VerifyCmpError, e:
verify_failed_files += 1
@@ -217,9 +217,9 @@ def _get_outstream(outfile):
print >>sys.stderr, e
else:
okay_files += 1
- print "+++ okay decompyling", infile, __memUsage()
- print 'decompyled %i files: %i okay, %i failed, %i verify failed' % \
- (tot_files, okay_files, failed_files, verify_failed_files)
+ #print "+++ okay decompyling", infile, __memUsage()
+ #print 'decompyled %i files: %i okay, %i failed, %i verify failed' % \
+ # (tot_files, okay_files, failed_files, verify_failed_files)
# local variables:
# tab-width: 4
View
4 decompyle/decompyle/spark.py
@@ -211,8 +211,8 @@ def buildState(self, token, states, i, tree):
needsCompletion = {}
state = states[i]
predicted = {}
- print state
- print token
+ #print state
+ #print token
for item in state:
rule, pos, parent = item
lhs, rhs = rule
View
4 decompyle/scripts/decompyle
@@ -85,13 +85,9 @@ elif outfile and os.path.isdir(outfile):
elif outfile and len(files) > 1:
out_base = outfile; outfile = None
-print time.ctime() #, args[0]
-
try:
main(src_base, out_base, files, outfile, showasm, showast, do_verify)
except KeyboardInterrupt, OSError:
pass
except verify.VerifyCmpError:
raise
-
-print time.ctime()

0 comments on commit a37e77f

Please sign in to comment.
Something went wrong with that request. Please try again.