2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

json.py: Typo in parsing code.

This commit is contained in:
Ben Pfaff
2011-09-26 11:43:25 -07:00
committed by Ethan Jackson
parent 26bb0f3129
commit cd1b3f63f3

View File

@@ -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: