From f1fb411525e7429e4f361ad3d352a9154c0e44b6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 18 Mar 2012 10:07:09 -0700 Subject: [PATCH] dispatch_conf: fix broken diffstatusoutput_len --- pym/portage/dispatch_conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dispatch_conf.py b/pym/portage/dispatch_conf.py index 6e8de0f43..3d53f6405 100644 --- a/pym/portage/dispatch_conf.py +++ b/pym/portage/dispatch_conf.py @@ -138,7 +138,7 @@ def file_archive(archive, curconf, newconf, mrgconf): # Archive the current config file if it isn't already saved if os.path.exists(archive) \ - and diffstatusoutput_len("diff -aq '%s' '%s'" % (curconf,archive))[1] != 0: + and len(diffstatusoutput("diff -aq '%s' '%s'", curconf, archive)[1]) != 0: suf = 1 while suf < 9 and os.path.exists(archive + '.' + str(suf)): suf += 1 -- 2.26.2