pld-builder.new: PLD_Builder/request.py Fix py2.4 support

wiget wiget at pld-linux.org
Mon Oct 3 16:01:54 CEST 2011


Author: wiget                        Date: Mon Oct  3 14:01:54 2011 GMT
Module: pld-builder.new               Tag: HEAD
---- Log message:
Fix py2.4 support

---- Files affected:
pld-builder.new/PLD_Builder:
   request.py (1.92 -> 1.93) 

---- Diffs:

================================================================
Index: pld-builder.new/PLD_Builder/request.py
diff -u pld-builder.new/PLD_Builder/request.py:1.92 pld-builder.new/PLD_Builder/request.py:1.93
--- pld-builder.new/PLD_Builder/request.py:1.92	Mon Oct  3 08:55:03 2011
+++ pld-builder.new/PLD_Builder/request.py	Mon Oct  3 16:01:49 2011
@@ -46,7 +46,7 @@
     if time.daylight:
         tzoffset = time.altzone
     else:
-        time.timezone
+        tzoffset = time.timezone
     tz = '{:=+05d}'.format(-tzoffset / 3600 * 100)
     return date + ' ' + tz
 
================================================================

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



More information about the pld-cvs-commit mailing list