diff roundup/backends/rdbms_common.py @ 3924:21d3d7eeea8c

assorted pyflakes fixes I (re-)discovered pyflakes today and ran it over to roundup code to see what it had to say. It reported a ton of "imported module foo but you're not actually using it" warnings and a couple of actual errors that this patch fixes. The code was wrong but it was mostly stuff that never gets executed...like hyperdb.Choice.
author Justus Pendleton <jpend@users.sourceforge.net>
date Thu, 27 Sep 2007 06:12:57 +0000
parents 666b70676ec6
children 603ec9630b08
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py	Wed Sep 26 14:09:59 2007 +0000
+++ b/roundup/backends/rdbms_common.py	Thu Sep 27 06:12:57 2007 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 #
-#$Id: rdbms_common.py,v 1.190 2007-09-16 06:51:48 jpend Exp $
+#$Id: rdbms_common.py,v 1.191 2007-09-27 06:12:57 jpend Exp $
 """ Relational database (SQL) backend common code.
 
 Basics:
@@ -637,7 +637,7 @@
         properties = spec[1]
         # figure the multilinks
         mls = []
-        for propanme, prop in properties:
+        for propname, prop in properties:
             if isinstance(prop, Multilink):
                 mls.append(propname)
 

Roundup Issue Tracker: http://roundup-tracker.org/