gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r165488 - /gump/trunk/python/gump/util/mysql.py
Date Sun, 01 May 2005 12:09:25 GMT
Author: leosimons
Date: Sun May  1 05:09:25 2005
New Revision: 165488

URL: http://svn.apache.org/viewcvs?rev=165488&view=rev
Log:
Got indentation wrong.

Modified:
    gump/trunk/python/gump/util/mysql.py

Modified: gump/trunk/python/gump/util/mysql.py
URL: http://svn.apache.org/viewcvs/gump/trunk/python/gump/util/mysql.py?rev=165488&r1=165487&r2=165488&view=diff
==============================================================================
--- gump/trunk/python/gump/util/mysql.py (original)
+++ gump/trunk/python/gump/util/mysql.py Sun May  1 05:09:25 2005
@@ -147,11 +147,11 @@
                 if affected > 0: # might be nothing in db yet
                     row = cursor.fetchall()[0] # Ought be only one...
           
-                # Extract values
-                for column in columns:
-                    if row.has_key(column) and row[column]:
-                        settings[column]=row[column]
-                        #print 'Extracted %s -> %s' % ( column, row[column])
+                    # Extract values
+                    for column in columns:
+                        if row.has_key(column) and row[column]:
+                            settings[column]=row[column]
+                            #print 'Extracted %s -> %s' % ( column, row[column])
                               
             except Exception, details:
                 if cursor: self.logWarnings(cursor)



Mime
View raw message