From cb2defbde97ce14d8b07db70e2d3a3511d0b39a3 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 6 Nov 2020 21:14:19 -0500 Subject: [PATCH] Lint: W391 blank line at end of file --- api-daemon/pvcapid/flaskapi.py | 1 - api-daemon/pvcapid/helper.py | 1 - api-daemon/pvcapid/provisioner.py | 1 - client-cli/cli_lib/common.py | 1 - client-cli/pvc.py | 1 - daemon-common/network.py | 1 - daemon-common/vm.py | 1 - node-daemon/pvcnoded/MetadataAPIInstance.py | 1 - 8 files changed, 8 deletions(-) diff --git a/api-daemon/pvcapid/flaskapi.py b/api-daemon/pvcapid/flaskapi.py index ecffd105..2d2b7b5e 100755 --- a/api-daemon/pvcapid/flaskapi.py +++ b/api-daemon/pvcapid/flaskapi.py @@ -6344,4 +6344,3 @@ class API_Provisioner_Status_Element(Resource): } return response api.add_resource(API_Provisioner_Status_Element, '/provisioner/status/') - diff --git a/api-daemon/pvcapid/helper.py b/api-daemon/pvcapid/helper.py index eee40707..2400acb2 100755 --- a/api-daemon/pvcapid/helper.py +++ b/api-daemon/pvcapid/helper.py @@ -1564,4 +1564,3 @@ def ceph_volume_snapshot_remove(pool, volume, name): 'message': retdata.replace('\"', '\'') } return output, retcode - diff --git a/api-daemon/pvcapid/provisioner.py b/api-daemon/pvcapid/provisioner.py index cecf9117..c47a24cf 100755 --- a/api-daemon/pvcapid/provisioner.py +++ b/api-daemon/pvcapid/provisioner.py @@ -1629,4 +1629,3 @@ def create_vm(self, vm_name, vm_profile, define_vm=True, start_vm=True, script_r pvc_common.stopZKConnection(zk_conn) return {'status': 'VM "{}" with profile "{}" has been provisioned and started successfully'.format(vm_name, vm_profile), 'current': 10, 'total': 10} - diff --git a/client-cli/cli_lib/common.py b/client-cli/cli_lib/common.py index 540af162..e22fb49f 100644 --- a/client-cli/cli_lib/common.py +++ b/client-cli/cli_lib/common.py @@ -182,4 +182,3 @@ def call_api(config, operation, request_uri, headers={}, params=None, data=None, # Return the response object return response - diff --git a/client-cli/pvc.py b/client-cli/pvc.py index 2ea863bc..f85b71d1 100755 --- a/client-cli/pvc.py +++ b/client-cli/pvc.py @@ -3835,4 +3835,3 @@ def main(): if __name__ == '__main__': main() - diff --git a/daemon-common/network.py b/daemon-common/network.py index 01a2fd26..aea4bb70 100644 --- a/daemon-common/network.py +++ b/daemon-common/network.py @@ -938,4 +938,3 @@ def format_list_acl(acl_list): ) click.echo('\n'.join(sorted(acl_list_output))) - diff --git a/daemon-common/vm.py b/daemon-common/vm.py index fed0bb72..e9332b60 100644 --- a/daemon-common/vm.py +++ b/daemon-common/vm.py @@ -974,4 +974,3 @@ def format_list(zk_conn, vm_list, raw): click.echo('\n'.join(sorted(vm_list_output))) return True, '' - diff --git a/node-daemon/pvcnoded/MetadataAPIInstance.py b/node-daemon/pvcnoded/MetadataAPIInstance.py index 32fea150..5601a57b 100644 --- a/node-daemon/pvcnoded/MetadataAPIInstance.py +++ b/node-daemon/pvcnoded/MetadataAPIInstance.py @@ -188,4 +188,3 @@ class MetadataAPIInstance(object): pass return vm_details -