SOURCES: pynapi.py - some msg uppercase

arekm arekm at pld-linux.org
Sat Jan 17 19:06:00 CET 2009


Author: arekm                        Date: Sat Jan 17 18:06:00 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- some msg uppercase

---- Files affected:
SOURCES:
   pynapi.py (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/pynapi.py
diff -u SOURCES/pynapi.py:1.3 SOURCES/pynapi.py:1.4
--- SOURCES/pynapi.py:1.3	Sat Jan 17 19:02:09 2009
+++ SOURCES/pynapi.py	Sat Jan 17 19:05:54 2009
@@ -80,7 +80,7 @@
 
     # XXX: is this standard way for napiproject to signalize error?
     if sub == 'NPc0':
-        print >> sys.stderr, "%s: %d/%d: Subtitle not found" % (prog, i, i_total)
+        print >> sys.stderr, "%s: %d/%d: Subtitle NOT FOUND" % (prog, i, i_total)
         continue
 
     fp = tempfile.NamedTemporaryFile('wb', suffix=".7z", delete=False)
@@ -95,7 +95,7 @@
     os.unlink(tfp)
 
     if retcode:
-        print >> sys.stderr, "%s: %d/%d: Subtitle decompression failed: %s" % (prog, i, i_total, se)
+        print >> sys.stderr, "%s: %d/%d: Subtitle decompression FAILED: %s" % (prog, i, i_total, se)
         continue
 
     fp = open(vfile, 'w')
@@ -103,4 +103,4 @@
     fp.close()
     os.chmod(vfile, 0644)
 
-    print >> sys.stderr, "%s: %d/%d: Stored (%d bytes)" % (prog, i, i_total, len(so))
+    print >> sys.stderr, "%s: %d/%d: STORED (%d bytes)" % (prog, i, i_total, len(so))
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/pynapi.py?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list