pld-builder.new: PLD_Builder/rpm_builder.py - typos

arekm arekm at pld-linux.org
Wed Jul 15 15:42:26 CEST 2009


Author: arekm                        Date: Wed Jul 15 13:42:26 2009 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
- typos

---- Files affected:
pld-builder.new/PLD_Builder:
   rpm_builder.py (1.93 -> 1.94) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.93 pld-builder.new/PLD_Builder/rpm_builder.py:1.94
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.93	Wed Jul 15 15:36:39 2009
+++ pld-builder.new/PLD_Builder/rpm_builder.py	Wed Jul 15 15:42:21 2009
@@ -65,7 +65,7 @@
                 continue
             else:
                 return False
-        if f.has_attr('getcode') and f.getcode() == 200:
+        if f.hasattr('getcode') and f.getcode() == 200:
             f.close()
             return True
         f.close()
@@ -86,7 +86,7 @@
                 continue
             else:
                 raise
-        if f.has_attr('getcode'):
+        if f.hasattr('getcode'):
             http_code = f.getcode()
             if http_code != 200:
                     # fail in a way where cron job will retry
================================================================

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



More information about the pld-cvs-commit mailing list