Remove requirement of "-l" flag when "--logs-no-default" is set

This commit is contained in:
f3flight 2016-08-01 13:44:46 +00:00
parent 7f1e4ddf69
commit 3ca71788b8
2 changed files with 3 additions and 2 deletions

View File

@ -102,7 +102,7 @@ def parse_args():
parser.add_argument('--logs-no-default',
help=('Do not use default log collection parameters,'
' only use what has been set up either via -L'
' or in rqfile(s).'),
' or in rqfile(s). Implies "-l".'),
action='store_true')
parser.add_argument('--fuel-ip', help='fuel ip address')
parser.add_argument('--fuel-user', help='fuel username')
@ -200,6 +200,7 @@ def main(argv=None):
conf['logs']['start'] = args.days
if args.logs_no_default:
conf['logs'] = []
args.logs = True
if args.get_logs:
args.logs = True
if type(conf['logs']) is not list:

View File

@ -16,7 +16,7 @@
# under the License.
project_name = 'timmy'
version = '1.10.1'
version = '1.10.2'
if __name__ == '__main__':
exit(0)