From: Serge Rehbinder Date: Thu, 5 Jan 2017 08:37:35 +0000 (+0100) Subject: fix bug when the option --add_files is not used X-Git-Tag: 5.0.0a1~38^2~28 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb897b6eb9e0fca799b5ddb3b4814a73e066b2a4;p=tools%2Fsat.git fix bug when the option --add_files is not used --- 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