--- a/targets/typemapping.py Thu Sep 28 17:20:31 2017 +0300
+++ b/targets/typemapping.py Thu Sep 28 17:24:33 2017 +0300
@@ -46,12 +46,14 @@
("ns", c_long)] # tv_nsec
-def _t(t, u=lambda x: x.value, p=lambda t, x: t(x)): return (t, u, p)
+def _t(t, u=lambda x: x.value, p=lambda t, x: t(x)):
+ return (t, u, p)
-def _ttime(): return (IEC_TIME,
- lambda x: td(0, x.s, x.ns/1000),
- lambda t, x: t(x.days * 24 * 3600 + x.seconds, x.microseconds*1000))
+def _ttime():
+ return (IEC_TIME,
+ lambda x: td(0, x.s, x.ns/1000),
+ lambda t, x: t(x.days * 24 * 3600 + x.seconds, x.microseconds*1000))
SameEndianessTypeTranslator = {