]> TLD Linux GIT Repositories - tld-builder.git/commitdiff
- fix indentation
authorMarcin Krol <hawk@tld-linux.org>
Sat, 20 Mar 2021 22:08:31 +0000 (23:08 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 20 Mar 2021 22:08:31 +0000 (23:08 +0100)
TLD_Builder/srpm_builder.py

index c4c48afa9edccb900e129f0fae30a106f1eda4ae..1fce424e0370f6a05c887aa9774611e5652ac228 100644 (file)
@@ -121,8 +121,8 @@ def build_srpm(r, b):
         res = "FAIL"
     if res == 0 and not "test-build" in r.flags:
         util.append_to(b.logfile, "Writing pkgrev")
         res = "FAIL"
     if res == 0 and not "test-build" in r.flags:
         util.append_to(b.logfile, "Writing pkgrev")
-            res = chroot.run("cd rpm/packages; ./builder -bs %s -r %s --pkgrev %s %s" % \
-                (b.bconds_string(), b.branch, b.defines_string(), b.spec), logfile = b.logfile)
+        res = chroot.run("cd rpm/packages; ./builder -bs %s -r %s --pkgrev %s %s" % \
+            (b.bconds_string(), b.branch, b.defines_string(), b.spec), logfile = b.logfile)
     if res == 0:
         transfer_file(r, b)
 
     if res == 0:
         transfer_file(r, b)