git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f4119a5
)
oops, syntax error
author
parmentelat
<thierry.parmentelat@inria.fr>
Tue, 11 Dec 2018 15:45:21 +0000
(16:45 +0100)
committer
parmentelat
<thierry.parmentelat@inria.fr>
Tue, 11 Dec 2018 15:45:21 +0000
(16:45 +0100)
PLC/Method.py
patch
|
blob
|
history
diff --git
a/PLC/Method.py
b/PLC/Method.py
index
836eea0
..
f01271d
100644
(file)
--- a/
PLC/Method.py
+++ b/
PLC/Method.py
@@
-338,7
+338,7
@@
class Method:
# Integers and long integers are also special types. Accept
# either int or long types if an int or long is expected.
# Integers and long integers are also special types. Accept
# either int or long types if an int or long is expected.
- elif expected_type is int and isinstance(value, int):
+
elif expected_type is int and isinstance(value, int):
pass
elif not isinstance(value, expected_type):
pass
elif not isinstance(value, expected_type):