From fcf73104165536c0789b9e1306a43fca95a0fe43 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 22 Mar 2012 18:38:14 -0700 Subject: mtimedb: fix hexversion for python issue 5729 --- pym/portage/util/_dyn_libs/PreservedLibsRegistry.py | 2 +- pym/portage/util/mtimedb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py b/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py index d3d100f18..26da0cf20 100644 --- a/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py +++ b/pym/portage/util/_dyn_libs/PreservedLibsRegistry.py @@ -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 diff --git a/pym/portage/util/mtimedb.py b/pym/portage/util/mtimedb.py index 736e314d5..30922a901 100644 --- a/pym/portage/util/mtimedb.py +++ b/pym/portage/util/mtimedb.py @@ -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 -- cgit v1.2.3-1-g7c22