json.py: Typo in parsing code.
authorBen Pfaff <blp@nicira.com>
Mon, 26 Sep 2011 18:43:25 +0000 (11:43 -0700)
committerEthan Jackson <ethan@nicira.com>
Mon, 26 Sep 2011 18:43:25 +0000 (11:43 -0700)
python/ovs/json.py

index f4caf41cf36a28477c575ada8c1eddda662a32b4..417d2316a2d4404bbdb70ae3c757f911283487d1 100644 (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: