~ubuntu-branches/ubuntu/quantal/python-tz/quantal

« back to all changes in this revision

Viewing changes to pytz/tzfile.py

  • Committer: Bazaar Package Importer
  • Author(s): Brian Sutherland
  • Date: 2007-05-09 12:01:36 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070509120136-oi18syaota63tyzy
Tags: 2007d-1
* New upstream release (Closes: 415458)
* Revert patch ignoring arch files, it's not necessary any and conflicted
  with upstream.
* Patch upstream to use /usr/share/zoneinfo and remove the included version,
  also depend on tzdata package. (Closes: 416202)
* Write and install a testrunner that can run the pytz tests in
  /usr/lib/python-tz/test-pytxX.Y which tests pythonX.Y.
* Build depends on python-central > 0.5, debhelper > 5.0.38
* Remove workaround for python-central/debhelper breakage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
from datetime import datetime, timedelta
8
8
from struct import unpack, calcsize
9
9
 
10
 
from pytz.tzinfo import (
11
 
    StaticTzInfo, DstTzInfo, memorized_datetime, memorized_timedelta,
12
 
    memorized_ttinfo)
 
10
from pytz.tzinfo import StaticTzInfo, DstTzInfo, memorized_ttinfo
 
11
from pytz.tzinfo import memorized_datetime, memorized_timedelta
13
12
 
14
13
 
15
14
def build_tzinfo(zone, fp):