]> git.decadent.org.uk Git - dak.git/commitdiff
Rename the one regex so it doesnt override the other
authorJoerg Jaspert <joerg@debian.org>
Sat, 11 Sep 2010 12:15:39 +0000 (14:15 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 11 Sep 2010 12:15:39 +0000 (14:15 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/add_user.py
daklib/regexes.py

index f658272acdb72f279c7b96038045e2695e030dab..67e4769447a34a09915387408dd1b5a65a455f7c 100755 (executable)
@@ -136,7 +136,7 @@ def main():
            % (utils.gpg_keyring_args(keyrings),
               Cnf["Add-User::Options::Key"])
     (result, output) = commands.getstatusoutput(cmd)
-    m = re_gpg_fingerprint.search(output)
+    m = re_gpg_fingerprint_colon.search(output)
     if not m:
         print output
         utils.fubar("0x%s: (1) No fingerprint found in gpg output but it returned 0?\n%s" \
index 3d7d7a8bf534031781ef697776784502db9fbe98..62b8ac2e7625701a7f781f32ec85abfaf3f727da 100755 (executable)
@@ -113,7 +113,7 @@ re_build_dep_arch = re.compile(r"\[[^]]+\]")
 re_broken_package = re.compile(r"[a-zA-Z]\w+\s+\-.*")
 
 # From dak/add_user.py
-re_gpg_fingerprint = re.compile(r"^fpr:+(.*):$", re.MULTILINE);
+re_gpg_fingerprint_colon = re.compile(r"^fpr:+(.*):$", re.MULTILINE);
 # The next one is dirty
 re_user_address = re.compile(r"^pub:.*<(.*)@.*>.*$", re.MULTILINE);
 re_user_mails = re.compile(r"^(pub|uid):[^rdin].*<(.*@.*)>.*$", re.MULTILINE);