laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/pysim/+/37854?usp=email )


Change subject: Fix pySim.esim.es2p.Param.timestamp._encode
......................................................................

Fix pySim.esim.es2p.Param.timestamp._encode

************* Module pySim.esim.es2p
pySim/esim/es2p.py:107:19: E1101: Class 'datetime' has no 'toisoformat' member 
(no-member)

Change-Id: Ib762792d595048bf6d7d6f5acbe2715f137ae5bb
---
M pySim/esim/es2p.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/54/37854/1

diff --git a/pySim/esim/es2p.py b/pySim/esim/es2p.py
index a73dd0c..954c7dc 100644
--- a/pySim/esim/es2p.py
+++ b/pySim/esim/es2p.py
@@ -104,7 +104,7 @@

         @classmethod
         def _encode(cls, data):
-            return datetime.toisoformat(data)
+            return datetime.isoformat(data)

     class NotificationPointId(ApiParamInteger):
         pass

--
To view, visit https://gerrit.osmocom.org/c/pysim/+/37854?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib762792d595048bf6d7d6f5acbe2715f137ae5bb
Gerrit-Change-Number: 37854
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>

Reply via email to