git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
json.py: Typo in parsing code.
[sliver-openvswitch.git]
/
python
/
ovs
/
json.py
diff --git
a/python/ovs/json.py
b/python/ovs/json.py
index
f4caf41
..
417d231
100644
(file)
--- a/
python/ovs/json.py
+++ b/
python/ovs/json.py
@@
-267,7
+267,7
@@
class Parser(object):
self.__parser_input(0)
return
elif significand <= 2 ** 63:
- while pow10 > 0 and significand <= 2 * 63:
+ while pow10 > 0 and significand <= 2 *
*
63:
significand *= 10
pow10 -= 1
while pow10 < 0 and significand % 10 == 0: