diff options
Diffstat (limited to 'git/objects/util.py')
-rw-r--r-- | git/objects/util.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/git/objects/util.py b/git/objects/util.py index 76a24a6f..fdf9622b 100644 --- a/git/objects/util.py +++ b/git/objects/util.py @@ -15,7 +15,6 @@ from collections import deque as Deque from string import digits import time import calendar -import os __all__ = ('get_object_type_by_name', 'parse_date', 'parse_actor_and_date', 'ProcessStreamAdapter', 'Traversable', 'altz_to_utctz_str', 'utctz_to_altz', @@ -89,10 +88,10 @@ def verify_utctz(offset): raise fmt_exc if offset[0] not in "+-": raise fmt_exc - if offset[1] not in digits or \ - offset[2] not in digits or \ - offset[3] not in digits or \ - offset[4] not in digits: + if offset[1] not in digits or\ + offset[2] not in digits or\ + offset[3] not in digits or\ + offset[4] not in digits: raise fmt_exc # END for each char return offset |