]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_unchecked.py
fix things I broke yesterday with the contents merge
[dak.git] / dak / process_unchecked.py
index aa38a0032c5de584e63ff9a56b22236ca295b35e..5bd8bf2c1359bfe96a1d775aac2f7f130fb8ec0f 100755 (executable)
@@ -562,7 +562,7 @@ def check_files():
             # Check the version and for file overwrites
             reject(Upload.check_binary_against_db(f),"")
 
-            Binary(f, reject).scan_package( )
+            Binary(f, reject).scan_package()
 
         # Checks for a source package...
         else:
@@ -1320,7 +1320,7 @@ def is_stableupdate ():
         cursor.execute( """SELECT 1 FROM source s
                            JOIN src_associations sa ON (s.id = sa.source)
                            WHERE s.source = %(source)s
-                              AND s.version = '%(version)s'
+                              AND s.version = %(version)s
                               AND sa.suite = %(suite)d""",
                         {'source' : changes['source'],
                          'version' : changes['version'],