From: Ben Pfaff Date: Mon, 26 Sep 2011 18:43:25 +0000 (-0700) Subject: json.py: Typo in parsing code. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd1b3f63f360286a80392e20ce454362ce335056;p=openvswitch json.py: Typo in parsing code. --- 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: