Small fix

This commit is contained in:
Anton Kirilenko 2012-11-14 15:45:23 +04:00
parent 7718dea4a6
commit 31951d633e
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
Name: abf-console-client
Version: 1.4
Version: 1.5
Release: 0
Summary: Console client for ABF (https://abf.rosalinux.ru)
Group: System/Configuration/Packaging

2
abf.py
View file

@ -267,7 +267,7 @@ def put():
except ValueError, ex:
log.error('Incorrect "--minimal-file-size" value: %s' % command_line.minimal_file_size)
exit(1)
error_count = upload_files(models, min_size, remove_files=not command_line.do_not_remove_files, path=yaml_path)
error_count = upload_files(models, min_size, remove_files=not command_line.do_not_remove_files, path=path)
if error_count:
log.info('There were errors while uploading, stopping.')
return