]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- warn in logs
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 15 Jul 2009 13:47:49 +0000 (13:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/rpm_builder.py -> 1.96

PLD_Builder/rpm_builder.py

index fd1e1942295043db8e55988cf919f34dd851f619..35db518a3db5964ba6eb3670f12efd92eb2c9938 100644 (file)
@@ -65,9 +65,12 @@ def check_skip_build(r, b):
                 continue
             else:
                 return False
-        if hasattr(f, 'getcode') and f.getcode() == 200:
-            f.close()
-            return True
+        if hasattr(f, 'getcode'):
+            if f.getcode() == 200:
+                f.close()
+                return True
+        else:
+            b.log_line("checking unsupported, please upgrade python to >= 2.6")
         f.close()
     return False
 
This page took 0.036274 seconds and 4 git commands to generate.