mirror of
https://github.com/python/cpython.git
synced 2025-09-07 17:32:01 +00:00
Remove apply()
This commit is contained in:
parent
fe55464f39
commit
d91085598f
56 changed files with 179 additions and 285 deletions
|
@ -374,7 +374,7 @@ def buildPackage(*args, **options):
|
|||
o = options
|
||||
title, version, desc = o["Title"], o["Version"], o["Description"]
|
||||
pm = PackageMaker(title, version, desc)
|
||||
apply(pm.build, list(args), options)
|
||||
pm.build(*args, **options)
|
||||
|
||||
|
||||
######################################################################
|
||||
|
@ -468,7 +468,7 @@ def main():
|
|||
"Description" in ok):
|
||||
print "Missing mandatory option!"
|
||||
else:
|
||||
apply(buildPackage, args, optsDict)
|
||||
buildPackage(*args, **optsDict)
|
||||
return
|
||||
|
||||
printUsage()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue