Author: Antonio Cuni <anto.c...@gmail.com>
Branch: 
Changeset: r44308:4c6419d5ea4e
Date: 2011-05-19 16:06 +0200
http://bitbucket.org/pypy/pypy/changeset/4c6419d5ea4e/

Log:    bah, fix two typos

diff --git a/pypy/tool/memusage/log2gnumeric.py 
b/pypy/tool/memusage/log2gnumeric.py
--- a/pypy/tool/memusage/log2gnumeric.py
+++ b/pypy/tool/memusage/log2gnumeric.py
@@ -40,7 +40,6 @@
 
 
 def main(logname, options):
-    logname = sys.argv[1]
     outname = logname + '.gnumeric'
     data = open(logname).read()
     data = data.replace('\n', '')
@@ -177,7 +176,7 @@
         try:
             lines = open(filename).readlines()
         except IOError:
-            print 'Warning: cannot find file %s, skipping this sheet'
+            print 'Warning: cannot find file %s, skipping this sheet' % 
filename
     for row in vmrss_rows_impl(lines, maxtime):
         yield row
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to