pykolab/xml
Thomas Brüderli
bruederli at kolabsys.com
Mon Mar 3 19:50:59 CET 2014
pykolab/xml/utils.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 46a148e0374d0f74ee3cc9ebab77c80f9ff603aa
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Thu Feb 20 23:37:00 2014 -0500
Fix return value of pykolab.xml.utils.to_dt
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
More information about the commits
mailing list