~ubuntu-branches/ubuntu/trusty/python-keystoneclient/trusty-proposed

« back to all changes in this revision

Viewing changes to keystoneclient/openstack/common/timeutils.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2013-11-14 10:51:32 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20131114105132-p1o428l7fclasv9e
Tags: 1:0.4.1-0ubuntu1
[ Adam Gandelman ]
* debian/patches: Refreshed.
* debian/patches/use-mox-dependency.patch: Use mox instead of mox3
  dependency.

[ Chuck Short ]
* New upstream release.
* debian/control:
  - open icehouse release.
  - Dropped python-d2to1 and python-httplib2 dependency.
* debian/patches/skip-tests-ubuntu.patch: Dropped no longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    try:
50
50
        return iso8601.parse_date(timestr)
51
51
    except iso8601.ParseError as e:
52
 
        raise ValueError(e.message)
 
52
        raise ValueError(unicode(e))
53
53
    except TypeError as e:
54
 
        raise ValueError(e.message)
 
54
        raise ValueError(unicode(e))
55
55
 
56
56
 
57
57
def strtime(at=None, fmt=PERFECT_TIME_FORMAT):