projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bb0f3
)
json.py: Typo in parsing code.
author
Ben Pfaff
<blp@nicira.com>
Mon, 26 Sep 2011 18:43:25 +0000
(11:43 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Mon, 26 Sep 2011 18:43:25 +0000
(11:43 -0700)
python/ovs/json.py
patch
|
blob
|
history
diff --git
a/python/ovs/json.py
b/python/ovs/json.py
index f4caf41cf36a28477c575ada8c1eddda662a32b4..417d2316a2d4404bbdb70ae3c757f911283487d1 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: