Remove apply()

This commit is contained in:
Neal Norwitz 2006-03-17 08:00:19 +00:00
parent fe55464f39
commit d91085598f
56 changed files with 179 additions and 285 deletions

View file

@ -95,7 +95,7 @@ def convert_path (pathname):
paths.remove('.')
if not paths:
return os.curdir
return apply(os.path.join, paths)
return os.path.join(*paths)
# convert_path ()
@ -295,7 +295,7 @@ def execute (func, args, msg=None, verbose=0, dry_run=0):
log.info(msg)
if not dry_run:
apply(func, args)
func(*args)
def strtobool (val):