Merge pull request #664 from inclement/fix_typo
Fixed a typo pointed out by AndreMiras
This commit is contained in:
commit
a8f764f786
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…
Add table
Reference in a new issue