mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Merge pull request #9231 from cachedout/format_in_9230
format instead of printf
This commit is contained in:
commit
fd9cae13d2
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user