Fixed a typo pointed out by AndreMiras
This commit is contained in:
parent
52df08c8e2
commit
42fddafe2b
1 changed files with 2 additions and 1 deletions
|
@ -611,7 +611,8 @@ class Buildozer(object):
|
|||
target = join(cwd, target)
|
||||
self.debug('Rename {0} to {1}'.format(source, target))
|
||||
if not os.path.isdir(os.path.dirname(target)):
|
||||
self.error('Rename {0} to {1} fails becaues {2} is not a directory'.format(source, target, os.path.directory(target)))
|
||||
self.error(('Rename {0} to {1} fails because {2} is not a '
|
||||
'directory').format(source, target, target))
|
||||
rename(source, target)
|
||||
|
||||
def file_copy(self, source, target, cwd=None):
|
||||
|
|
Loading…
Reference in a new issue