X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=5bd8bf2c1359bfe96a1d775aac2f7f130fb8ec0f;hb=3388a6723b0170fd91484320fdd74ba185f7b6e3;hp=aa38a0032c5de584e63ff9a56b22236ca295b35e;hpb=7ac86fd08be17426d3d80851dd52c7447e95643a;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index aa38a003..5bd8bf2c 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -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'],