poldek: poldek/python/pyldek.py - avoid spaces in 'continuation' l...

mis mis at pld-linux.org
Sun Jul 1 23:56:28 CEST 2007


Author: mis                          Date: Sun Jul  1 21:56:28 2007 GMT
Module: poldek                        Tag: HEAD
---- Log message:
- avoid spaces in 'continuation' log messages

---- Files affected:
poldek/poldek/python:
   pyldek.py (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: poldek/poldek/python/pyldek.py
diff -u poldek/poldek/python/pyldek.py:1.1 poldek/poldek/python/pyldek.py:1.2
--- poldek/poldek/python/pyldek.py:1.1	Sun Jul  1 23:04:27 2007
+++ poldek/poldek/python/pyldek.py	Sun Jul  1 23:56:23 2007
@@ -24,7 +24,7 @@
             pri = 'info'
             
         if pri == 'cont':
-            print message,
+            sys.stdout.write(message)
         else:
             lines = string.split(message, '\n')
             if len(lines[-1]) == 0:
@@ -245,8 +245,8 @@
 (options, args) = get_options()
 
 poldek.lib_init()
-if not options.v == 0:
-    options.v = 1
+#if not options.v == 0:
+#    options.v = 1
     
 pyl = Pyldek(options.n, verbose = options.v)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/poldek/poldek/python/pyldek.py?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list