Remove white space between print ()

Change-Id: I7caefcc6e09f0b0fa266c47fedda736d45015fd4
This commit is contained in:
Anh Tran 2017-01-17 09:52:24 +07:00
parent 4cb9e19120
commit 4845939a01
3 changed files with 9 additions and 9 deletions

View File

@ -88,7 +88,7 @@ class OsloConfigSchemaManager(object):
cmd = ('oslo-config-generator --config-file %s '
'--output-file %s --output-format json' %
(gen_conf, out_file))
print ("\nSyncing %s " % cmd)
print("\nSyncing %s " % cmd)
import os
os.system(cmd)
@ -126,7 +126,7 @@ class OsloConfigSchemaManager(object):
namespace,
grp,
name)
print (msg)
print(msg)
class DBCommand(object):

View File

@ -223,7 +223,7 @@ if __name__ == '__main__':
'id': 'd7dcd175-27ef-46b5-997f-e6e572f320af'})
def print_infra():
print (json.dumps(c.infra_perspective_get(context.RequestContext())))
print(json.dumps(c.infra_perspective_get(context.RequestContext())))
def print_view_360():
with open('/tmp/view_360.json', 'w') as file:
@ -244,9 +244,9 @@ if __name__ == '__main__':
with open('/tmp/sample.conf', 'r') as content_file:
content = content_file.read()
print (c.config_file_update(context.RequestContext(),
'dcf0f17b-99f6-49e9-8d5f-23b3ad1167dc',
content))
print(c.config_file_update(context.RequestContext(),
'dcf0f17b-99f6-49e9-8d5f-23b3ad1167dc',
content))
print_config_schema()
print_view_360()

View File

@ -1206,6 +1206,6 @@ if __name__ == '__main__':
sc = service_component_get_all_by_config_file(
None,
'03cccfb4-5433-47fc-af3c-63869f270d78')
print (service_worker_get_all_by(None,
service_component_id=sc[0].id,
is_launcher=True))
print(service_worker_get_all_by(None,
service_component_id=sc[0].id,
is_launcher=True))