gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet-python] 02/02: datatime.datetime seems like a typo.


From: gnunet
Subject: [GNUnet-SVN] [gnunet-python] 02/02: datatime.datetime seems like a typo. Make pythonize return datetime.datetime
Date: Fri, 01 Dec 2017 21:56:36 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet-python.

commit 529fb058e9e2f2f950bf49d8be1c99a1247b3207
Author: ng0 <address@hidden>
AuthorDate: Fri Dec 1 20:55:38 2017 +0000

    datatime.datetime seems like a typo. Make pythonize return datetime.datetime
---
 gnunet/_dbus_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnunet/_dbus_utils.py b/gnunet/_dbus_utils.py
index 739898a..4621002 100644
--- a/gnunet/_dbus_utils.py
+++ b/gnunet/_dbus_utils.py
@@ -30,7 +30,7 @@ def pythonize(arg, argtype):
             return strings.string_to_absolute_time(arg)
         if isinstance(arg. dbus.UInt64):
             return datetime.datetime(1970, 1, 1) + 
datetime.timedelta(microseconds=arg)
-        return datatime.datetime(arg)
+        return datetime.datetime(arg)
 
 
 def dbusize(arg, pretty):

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]