From eb897b6eb9e0fca799b5ddb3b4814a73e066b2a4 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Thu, 5 Jan 2017 09:37:35 +0100 Subject: [PATCH] fix bug when the option --add_files is not used --- commands/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/package.py b/commands/package.py index 323bcdc..35a6fc1 100644 --- a/commands/package.py +++ b/commands/package.py @@ -96,7 +96,7 @@ parser.add_option('t', 'salometools', 'boolean', 'sat', parser.add_option('n', 'name', 'string', 'name', _('Optional: The name or full path of the archive.'), None) parser.add_option('', 'add_files', 'list2', 'add_files', - _('Optional: The list of additional files to add to the archive.'), None) + _('Optional: The list of additional files to add to the archive.'), []) def add_files(tar, name_archive, d_content, logger): '''Create an archive containing all directories and files that are given in -- 2.39.2