Fix linters
Change-Id: Ide46cd2379d6ba32c844a9779ecfd32faead7b35
This commit is contained in:
parent
af7932136e
commit
b88a8fbb16
@ -154,5 +154,6 @@ def main():
|
|||||||
|
|
||||||
rolling_restart(containers, inventory, wait)
|
rolling_restart(containers, inventory, wait)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
@ -41,6 +41,7 @@ def add_new_dict_data(original, new):
|
|||||||
|
|
||||||
add_new_dict_data(original[key], new[key])
|
add_new_dict_data(original[key], new[key])
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
||||||
repo_root = sys.argv[1]
|
repo_root = sys.argv[1]
|
||||||
|
@ -40,6 +40,7 @@ def clean_vars():
|
|||||||
f.write(yaml.safe_dump(environment, default_flow_style=False,
|
f.write(yaml.safe_dump(environment, default_flow_style=False,
|
||||||
width=1000))
|
width=1000))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
clean_vars()
|
clean_vars()
|
||||||
with open('/etc/openstack_deploy.KILO/CEILOMETER_MIGRATED', 'w') as f:
|
with open('/etc/openstack_deploy.KILO/CEILOMETER_MIGRATED', 'w') as f:
|
||||||
|
@ -79,6 +79,7 @@ def main(filename):
|
|||||||
with open(filename, 'w') as f:
|
with open(filename, 'w') as f:
|
||||||
f.write(''.join(new_contents))
|
f.write(''.join(new_contents))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
sys.exit("Filename and flag file reference required.")
|
sys.exit("Filename and flag file reference required.")
|
||||||
|
@ -57,6 +57,7 @@ def main(filename):
|
|||||||
with open(filename, 'w') as f:
|
with open(filename, 'w') as f:
|
||||||
f.write(''.join(new_contents))
|
f.write(''.join(new_contents))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
sys.exit("Filename and flag file reference required.")
|
sys.exit("Filename and flag file reference required.")
|
||||||
|
@ -57,6 +57,7 @@ def main(filename):
|
|||||||
with open(filename, 'w') as f:
|
with open(filename, 'w') as f:
|
||||||
f.write(''.join(new_contents))
|
f.write(''.join(new_contents))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
if len(sys.argv) < 3:
|
if len(sys.argv) < 3:
|
||||||
sys.exit("Filename and flag file reference required.")
|
sys.exit("Filename and flag file reference required.")
|
||||||
|
Loading…
Reference in New Issue
Block a user