r1720 - in python-tz/trunk (3 files)

Fabio Tranchitella kobold at alioth.debian.org
Fri Aug 28 09:28:53 UTC 2009


    Date: Friday, August 28, 2009 @ 09:28:52
  Author: kobold
Revision: 1720

* New upstream release.
* Standards-Version: 3.8.3, no changed required.

Modified:
  python-tz/trunk/debian/changelog
  python-tz/trunk/debian/control
  python-tz/trunk/pytz/__init__.py

Modified: python-tz/trunk/debian/changelog
===================================================================
--- python-tz/trunk/debian/changelog	2009-08-28 09:24:27 UTC (rev 1719)
+++ python-tz/trunk/debian/changelog	2009-08-28 09:28:52 UTC (rev 1720)
@@ -1,3 +1,10 @@
+python-tz (2009l-1) unstable; urgency=low
+
+  * New upstream release.
+  * Standards-Version: 3.8.3, no changed required.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Fri, 28 Aug 2009 11:26:15 +0200
+
 python-tz (2009g-1) unstable; urgency=low
 
   * New upstream release.

Modified: python-tz/trunk/debian/control
===================================================================
--- python-tz/trunk/debian/control	2009-08-28 09:24:27 UTC (rev 1719)
+++ python-tz/trunk/debian/control	2009-08-28 09:28:52 UTC (rev 1720)
@@ -6,9 +6,10 @@
 Build-Depends: debhelper (>= 5.0.38)
 Build-Depends-Indep: python-all-dev (>= 2.3.5-9), python-central (>= 0.5)
 Build-Conflicts: python-setuptools
-Standards-Version: 3.8.1
+Standards-Version: 3.8.3
 Homepage: http://pypi.python.org/pypi/pytz/
 XS-Python-Version: all
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/python-tz/trunk
 
 Package: python-tz
 Architecture: all

Modified: python-tz/trunk/pytz/__init__.py
===================================================================
--- python-tz/trunk/pytz/__init__.py	2009-08-28 09:24:27 UTC (rev 1719)
+++ python-tz/trunk/pytz/__init__.py	2009-08-28 09:28:52 UTC (rev 1720)
@@ -9,7 +9,7 @@
 '''
 
 # The Olson database has historically been updated about 4 times a year
-OLSON_VERSION = '2009d'
+OLSON_VERSION = '2009l'
 VERSION = OLSON_VERSION
 # Version format for a patch release - only one so far.
 #VERSION = OLSON_VERSION + '.2'
@@ -65,8 +65,8 @@
         return True
     except IOError:
         return False
-        
 
+
 # Enable this when we get some translations?
 # We want an i18n API that is useful to programs using Python's gettext
 # module, as well as the Zope3 i18n package. Perhaps we should just provide
@@ -102,7 +102,7 @@
 
 def timezone(zone):
     r''' Return a datetime.tzinfo implementation for the given timezone 
-    
+
     >>> from datetime import datetime, timedelta
     >>> utc = timezone('UTC')
     >>> eastern = timezone('US/Eastern')
@@ -149,7 +149,7 @@
             _tzinfo_cache[zone] = build_tzinfo(zone, open_resource(zone))
         else:
             raise UnknownTimeZoneError(zone)
-    
+
     return _tzinfo_cache[zone]
 
 
@@ -164,7 +164,7 @@
 
 class UTC(datetime.tzinfo):
     """UTC
-    
+
     Identical to the reference UTC implementation given in Python docs except
     that it unpickles using the single module global instance defined beneath
     this class declaration.
@@ -182,7 +182,7 @@
 
     def dst(self, dt):
         return ZERO
-    
+
     def __reduce__(self):
         return _UTC, ()
 
@@ -210,14 +210,14 @@
 
 def _UTC():
     """Factory function for utc unpickling.
-    
+
     Makes sure that unpickling a utc instance always returns the same 
     module global.
-    
+
     These examples belong in the UTC class above, but it is obscured; or in
     the README.txt, but we are not depending on Python 2.4 so integrating
     the README.txt examples with the unit tests is not trivial.
-    
+
     >>> import datetime, pickle
     >>> dt = datetime.datetime(2005, 3, 1, 14, 13, 21, tzinfo=utc)
     >>> naive = dt.replace(tzinfo=None)
@@ -312,7 +312,7 @@
 
 class _CountryNameDict(_LazyDict):
     '''Dictionary proving ISO3166 code -> English name.
-    
+
     >>> country_names['au']
     'Australia'
     '''
@@ -349,7 +349,7 @@
 
     def dst(self, dt):
         return None
-    
+
     def tzname(self, dt):
         return None
 
@@ -371,7 +371,7 @@
 
 def FixedOffset(offset, _tzinfos = {}):
     """return a fixed-offset timezone based off a number of minutes.
-    
+
         >>> one = FixedOffset(-330)
         >>> one
         pytz.FixedOffset(-330)
@@ -383,7 +383,7 @@
         pytz.FixedOffset(1380)
         >>> two.utcoffset(datetime.datetime.now())
         datetime.timedelta(0, 82800)
-    
+
     The datetime.timedelta must be between the range of -1 and 1 day,
     non-inclusive.
 
@@ -404,7 +404,7 @@
 
     There should always be only one instance of a FixedOffset per timedelta.
     This should be true for multiple creation calls.
-    
+
         >>> FixedOffset(-330) is one
         True
         >>> FixedOffset(1380) is two




More information about the pkg-zope-commits mailing list