Browse Source

Tests passing on 2.6

Ask Solem 10 years ago
parent
commit
1bf3103031
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/utils/timeutils.py

+ 1 - 1
celery/utils/timeutils.py

@@ -75,7 +75,7 @@ class LocalTimezone(tzinfo):
 
     def __repr__(self):
         return '<LocalTimezone: UTC{0:+03d}>'.format(
-            int(self.DSTOFFSET.total_seconds() / 3600),
+            int(timedelta_seconds(self.DSTOFFSET) / 3600),
         )
 
     def utcoffset(self, dt):