public this repo is viewable by everyone
Description: a ruby-to-pyc compiler
Clone URL: git://github.com/why/unholy.git
 * decompyle/: remove verbose debugging output, for now.
why (author)
10 days ago
commit  a37e77f42aa3bfb1a9645b7826ee7b738dd225e5
tree    4180e59d81b2ba2de7a9b822f03e97e8a272a865
parent  ef3799c41bcd58e74b876fa03f1ef28cbd02a8b6
...
208
209
210
211
 
212
213
214
...
217
218
219
220
221
222
 
 
 
223
224
225
...
208
209
210
 
211
212
213
214
...
217
218
219
 
 
 
220
221
222
223
224
225
0
@@ -208,7 +208,7 @@ def main(in_base, out_base, files, outfile=None,
0
             if do_verify:
0
                 try:
0
                     verify.compare_code_with_srcfile(infile, outfile)
0
- print "+++ okay decompyling", infile, __memUsage()
0
+ #print "+++ okay decompyling", infile, __memUsage()
0
                     okay_files += 1
0
                 except verify.VerifyCmpError, e:
0
                     verify_failed_files += 1
0
@@ -217,9 +217,9 @@ def main(in_base, out_base, files, outfile=None,
0
                     print >>sys.stderr, e
0
             else:
0
                 okay_files += 1
0
- print "+++ okay decompyling", infile, __memUsage()
0
- print 'decompyled %i files: %i okay, %i failed, %i verify failed' % \
0
- (tot_files, okay_files, failed_files, verify_failed_files)
0
+ #print "+++ okay decompyling", infile, __memUsage()
0
+ #print 'decompyled %i files: %i okay, %i failed, %i verify failed' % \
0
+ # (tot_files, okay_files, failed_files, verify_failed_files)
0
 
0
 # local variables:
0
 # tab-width: 4
...
211
212
213
214
215
 
 
216
217
218
...
211
212
213
 
 
214
215
216
217
218
0
@@ -211,8 +211,8 @@ class GenericParser:
0
     needsCompletion = {}
0
     state = states[i]
0
     predicted = {}
0
-    print state
0
-    print token
0
+    #print state
0
+    #print token
0
     for item in state:
0
       rule, pos, parent = item
0
       lhs, rhs = rule
...
85
86
87
88
89
90
91
92
93
94
95
96
97
...
85
86
87
 
 
88
89
90
91
92
93
 
 
0
@@ -85,13 +85,9 @@ elif outfile and os.path.isdir(outfile):
0
 elif outfile and len(files) > 1:
0
     out_base = outfile; outfile = None
0
 
0
-print time.ctime() #, args[0]
0
-
0
 try:
0
     main(src_base, out_base, files, outfile, showasm, showast, do_verify)
0
 except KeyboardInterrupt, OSError:
0
     pass
0
 except verify.VerifyCmpError:
0
     raise
0
-
0
-print time.ctime()

Comments

    No one has commented yet.