replaced dict with literal

Change-Id: Ic58c8e39aeb423b898a8d0a793b3152c0d1b693e
This commit is contained in:
the.bling 2017-04-04 14:59:05 +05:30
parent c034c74cf8
commit 45c5079f49
1 changed files with 3 additions and 4 deletions

View File

@ -169,10 +169,9 @@ class GenericLearningDriver(driver.LearningDriver):
job_args['dataset'] = dataset_args
# Set parameters of Swift
swift_args = {}
swift_args['tenant'] = request_specs.get('swift_tenant')
swift_args['username'] = request_specs.get('swift_username')
swift_args['password'] = request_specs.get('swift_password')
swift_args = {'tenant': request_specs.get('swift_tenant'),
'username': request_specs.get('swift_username'),
'password': request_specs.get('swift_password')}
job_args['swift'] = swift_args
# Set parameters of Model