mtimedb: fix hexversion for python issue 5729
authorZac Medico <zmedico@gentoo.org>
Fri, 23 Mar 2012 01:38:14 +0000 (18:38 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 23 Mar 2012 01:38:14 +0000 (18:38 -0700)
pym/portage/util/_dyn_libs/PreservedLibsRegistry.py
pym/portage/util/mtimedb.py

index d3d100f187eb99b8818eece024d80b986f913245..26da0cf20c48995ecd609ec80a6058ccda048dd9 100644 (file)
@@ -38,7 +38,7 @@ class PreservedLibsRegistry(object):
                "indent": "\t",
                "sort_keys": True
        }
-       if sys.hexversion < 0x3020000:
+       if sys.hexversion < 0x30200F0:
                # indent only supports int number of spaces
                _json_write_opts["indent"] = 4
 
index 736e314d5fb1e36934c8d2429498d0495e07c605..30922a9018184bac4fb29470175071290eccc45f 100644 (file)
@@ -32,7 +32,7 @@ class MtimeDB(dict):
                "indent": "\t",
                "sort_keys": True
        }
-       if sys.hexversion < 0x3020000:
+       if sys.hexversion < 0x30200F0:
                # indent only supports int number of spaces
                _json_write_opts["indent"] = 4