pld-builder.new: PLD_Builder/rpm_builder.py - python 2.6 note obsolete

arekm arekm at pld-linux.org
Wed Jul 15 16:49:37 CEST 2009


Author: arekm                        Date: Wed Jul 15 14:49:37 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- python 2.6 note obsolete

---- Files affected:
pld-builder.new/PLD_Builder:
   rpm_builder.py (1.97 -> 1.98) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.97 pld-builder.new/PLD_Builder/rpm_builder.py:1.98
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.97	Wed Jul 15 16:01:09 2009
+++ pld-builder.new/PLD_Builder/rpm_builder.py	Wed Jul 15 16:49:32 2009
@@ -68,9 +68,8 @@
                 return False
         except urllib2.HTTPError, error:
                 f.close()
-                return True
-        else:
-            b.log_line("checking unsupported, please upgrade python to >= 2.6")
+                return False
+        return True
         f.close()
     return False
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-builder.new/PLD_Builder/rpm_builder.py?r1=1.97&r2=1.98&f=u



More information about the pld-cvs-commit mailing list