From cd1b3f63f360286a80392e20ce454362ce335056 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 26 Sep 2011 11:43:25 -0700 Subject: [PATCH] json.py: Typo in parsing code. --- python/ovs/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ovs/json.py b/python/ovs/json.py index f4caf41c..417d2316 100644 --- 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: -- 2.30.2