public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:master commit in: lib/portage/util/_dyn_libs/, lib/portage/util/
@ 2020-07-17 13:36 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2020-07-17 13:36 UTC (permalink / raw
  To: gentoo-commits

commit:     c1009fe2bb5285fce80eed747db841d395acb53f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 13:28:11 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 13:28:11 2020 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=c1009fe2

Correct inverted py3 json indentation

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 lib/portage/util/_dyn_libs/PreservedLibsRegistry.py | 2 +-
 lib/portage/util/mtimedb.py                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py b/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py
index b82b11cb5..cb38c513c 100644
--- a/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py
+++ b/lib/portage/util/_dyn_libs/PreservedLibsRegistry.py
@@ -34,7 +34,7 @@ class PreservedLibsRegistry(object):
 
 	_json_write_opts = {
 		"ensure_ascii": False,
-		"indent": 4,
+		"indent": "\t",
 		"sort_keys": True,
 	}
 

diff --git a/lib/portage/util/mtimedb.py b/lib/portage/util/mtimedb.py
index e1605310e..ff2ad55e9 100644
--- a/lib/portage/util/mtimedb.py
+++ b/lib/portage/util/mtimedb.py
@@ -29,7 +29,7 @@ class MtimeDB(dict):
 
 	_json_write_opts = {
 		"ensure_ascii": False,
-		"indent": 4,
+		"indent": "\t",
 		"sort_keys": True
 	}
 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-17 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-17 13:36 [gentoo-commits] proj/portage:master commit in: lib/portage/util/_dyn_libs/, lib/portage/util/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox