summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-23 03:28:27 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-23 03:28:27 +0000
commit36ee257b79158f0636e9eb73d178fcec40a0a697 (patch)
tree72cb3a18517281777c50a88b1a5aae6251cb00ac /bin/repoman
parentbf9c353bd99cebe55b4b06c3630faf6477372d39 (diff)
downloadportage-36ee257b79158f0636e9eb73d178fcec40a0a697.tar.gz
portage-36ee257b79158f0636e9eb73d178fcec40a0a697.tar.bz2
portage-36ee257b79158f0636e9eb73d178fcec40a0a697.zip
Make the first two positional arguments of digestgen() into keyword arguments
since the first one isn't really needed (when this code is in stable we can start showing a deprecation warning when the redundant argument is used). svn path=/main/trunk/; revision=15438
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman
index 17c928662..c1f1481d0 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1011,7 +1011,7 @@ for x in scanlist:
portage._doebuild_manifest_exempt_depend -= 1
repoman_settings["O"] = checkdir
- if not portage.digestgen([], repoman_settings, myportdb=portdb):
+ if not portage.digestgen(mysettings=repoman_settings, myportdb=portdb):
print("Unable to generate manifest.")
dofail = 1
if options.mode == "manifest":
@@ -2335,7 +2335,7 @@ else:
mydone=[]
if repolevel==3: # In a package dir
repoman_settings["O"] = startdir
- portage.digestgen([], repoman_settings, myportdb=portdb)
+ portage.digestgen(mysettings=repoman_settings, myportdb=portdb)
elif repolevel==2: # In a category dir
for x in myfiles:
xs=x.split("/")
@@ -2349,7 +2349,7 @@ else:
repoman_settings["O"] = os.path.join(startdir, xs[0])
if not os.path.isdir(repoman_settings["O"]):
continue
- portage.digestgen([], repoman_settings, myportdb=portdb)
+ portage.digestgen(mysettings=repoman_settings, myportdb=portdb)
elif repolevel==1: # repo-cvsroot
print(green("RepoMan sez:"), "\"You're rather crazy... doing the entire repository.\"\n")
for x in myfiles:
@@ -2364,7 +2364,7 @@ else:
repoman_settings["O"] = os.path.join(startdir, xs[0], xs[1])
if not os.path.isdir(repoman_settings["O"]):
continue
- portage.digestgen([], repoman_settings, myportdb=portdb)
+ portage.digestgen(mysettings=repoman_settings, myportdb=portdb)
else:
print(red("I'm confused... I don't know where I am!"))
sys.exit(1)