summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-02-20 23:37:00 -0500
committerThomas Bruederli <bruederli@kolabsys.com>2014-02-20 23:37:00 -0500
commit46a148e0374d0f74ee3cc9ebab77c80f9ff603aa (patch)
treef835a84e684b8b1c0e8a68809e4771e6b32af9ae /pykolab
parentf6bd847a037038ff85f72da1ffca251b82400320 (diff)
downloadpykolab-46a148e0374d0f74ee3cc9ebab77c80f9ff603aa.tar.gz
Fix return value of pykolab.xml.utils.to_dt
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/xml/utils.py3
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