gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r168573 - in /gump/branches/Gump3/pygump/python/gump/util: executor.py mysql.py
Date Fri, 06 May 2005 08:48:36 GMT
Author: leosimons
Date: Fri May  6 01:48:36 2005
New Revision: 168573

URL: http://svn.apache.org/viewcvs?rev=168573&view=rev
Log:
Prettier printing.

* pygump/python/gump/util/executor.py,
  pygump/python/gump/util/mysql.py: indent log output because that looks a little better.

Modified:
    gump/branches/Gump3/pygump/python/gump/util/executor.py
    gump/branches/Gump3/pygump/python/gump/util/mysql.py

Modified: gump/branches/Gump3/pygump/python/gump/util/executor.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/util/executor.py?rev=168573&r1=168572&r2=168573&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/util/executor.py (original)
+++ gump/branches/Gump3/pygump/python/gump/util/executor.py Fri May  6 01:48:36 2005
@@ -121,7 +121,7 @@
             
             # a logger can be set for this module to make us log commands
             if _log:
-                _log.info("Executing command: %s'%s'%s in directory '%s'" % (ansicolor.Blue,
" ".join(args), ansicolor.Black, os.path.abspath(cwd or os.curdir)))
+                _log.info("        Executing command: %s'%s'%s in directory '%s'" % (ansicolor.Blue,
" ".join(args), ansicolor.Black, os.path.abspath(cwd or os.curdir)))
             
             subprocess.Popen.__init__(self, args, bufsize=bufsize, executable=executable,
                      stdin=stdin, stdout=stdout, stderr=stderr,

Modified: gump/branches/Gump3/pygump/python/gump/util/mysql.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/util/mysql.py?rev=168573&r1=168572&r2=168573&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/util/mysql.py (original)
+++ gump/branches/Gump3/pygump/python/gump/util/mysql.py Fri May  6 01:48:36 2005
@@ -91,7 +91,7 @@
                 
             return (affected, None)
         finally:
-            self.log.info("Executed SQL statement: %s%s%s ...%s rows affected." % (ansicolor.Blue,
statement, ansicolor.Black, affected))
+            self.log.info("        Executed SQL statement: %s%s%s ...%s rows affected." %
(ansicolor.Blue, statement, ansicolor.Black, affected))
             if cursor: cursor.close()
     
     def _connection(self):



Mime
View raw message