Merge pull request #9231 from cachedout/format_in_9230

format instead of printf
This commit is contained in:
Thomas S Hatch 2013-12-13 13:15:10 -08:00
commit fd9cae13d2

View File

@ -269,8 +269,8 @@ def latest(name,
shutil.rmtree(target)
# git clone is required, but target exists and is non-empty
elif os.listdir(target):
return _fail(ret, "Directory '%s' exists, is non-empty, and\
force option not in use" % target)
return _fail(ret, "Directory '{0}' exists, is non-empty, and\
force option not in use").format(target)
# git clone is required
log.debug(