Always scan for revision (again) as it's needed for the blame mails.
authorjelmer@samba.org <jelmer@samba.org>
Wed, 24 Nov 2010 09:50:44 +0000 (10:50 +0100)
committerjelmer@samba.org <jelmer@samba.org>
Wed, 24 Nov 2010 09:50:44 +0000 (10:50 +0100)
import-and-analyse.py

index ef6390c..758707a 100755 (executable)
@@ -106,12 +106,12 @@ for build in buildfarm.get_new_builds():
         except MissingRevisionInfo:
             print "No revision info in %r, skipping" % build
             continue
-    else:
-        try:
-            rev = build.revision_details()
-        except MissingRevisionInfo:
-            print "No revision info in %r, skipping" % build
-            continue
+
+    try:
+        rev = build.revision_details()
+    except MissingRevisionInfo:
+        print "No revision info in %r, skipping" % build
+        continue
 
     if opts.verbose >= 2:
         print "%s... " % build,