diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-02-20 23:37:00 -0500 |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-02-20 23:37:00 -0500 |
commit | 46a148e0374d0f74ee3cc9ebab77c80f9ff603aa (patch) | |
tree | f835a84e684b8b1c0e8a68809e4771e6b32af9ae | |
parent | f6bd847a037038ff85f72da1ffca251b82400320 (diff) | |
download | pykolab-46a148e0374d0f74ee3cc9ebab77c80f9ff603aa.tar.gz |
Fix return value of pykolab.xml.utils.to_dt
-rw-r--r-- | pykolab/xml/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pykolab/xml/utils.py b/pykolab/xml/utils.py index 1771fa6..d003b92 100644 --- a/pykolab/xml/utils.py +++ b/pykolab/xml/utils.py @@ -12,8 +12,7 @@ def to_dt(dt): else: if dt.tzinfo == None: return dt.replace(tzinfo=pytz.utc) - else: - return dt + return dt |