Fix bad reference

This commit is contained in:
Sybren A. Stüvel 2018-03-08 14:27:17 +01:00
parent bfc1421df9
commit c80bb8232e

View File

@ -36,7 +36,7 @@ def cli_pack(args):
try: try:
packer.execute() packer.execute()
except pack.FileCopyError as ex: except pack.queued_copy.FileCopyError as ex:
log.error("%d files couldn't be copied, starting with %s", log.error("%d files couldn't be copied, starting with %s",
len(ex.files_not_copied), ex.files_not_copied[0]) len(ex.files_not_copied), ex.files_not_copied[0])
raise SystemExit(1) raise SystemExit(1)