diff options
author | Gerhard Weis <g.weis@griffith.edu.au> | 2014-02-27 11:13:44 +1000 |
---|---|---|
committer | Gerhard Weis <g.weis@griffith.edu.au> | 2014-02-27 11:13:44 +1000 |
commit | 80a8e6d13778252f626dfb8d7503648335e23482 (patch) | |
tree | df00a07909317af1de21bf7201bb194e1e2f2bc8 /src/isodate/isotime.py | |
parent | 308302303068ecd149957a958c9d71625771c0f9 (diff) | |
download | isodate-80a8e6d13778252f626dfb8d7503648335e23482.tar.gz |
make flake happy
Diffstat (limited to 'src/isodate/isotime.py')
-rw-r--r-- | src/isodate/isotime.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/isodate/isotime.py b/src/isodate/isotime.py index 7ded2d4..2b268d0 100644 --- a/src/isodate/isotime.py +++ b/src/isodate/isotime.py @@ -129,7 +129,8 @@ def parse_time(timestring): # int(...) ... no rounding # to_integral() ... rounding return time(int(groups['hour']), int(groups['minute']), - int(second), int(microsecond.to_integral()), tzinfo) + int(second), int(microsecond.to_integral()), + tzinfo) if 'minute' in groups: minute = Decimal(groups['minute']) second = (minute - int(minute)) * 60 |