fix:W293 blank line contains whitespace Closes #816
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/40055598 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/40055598 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/40055598 Branch: refs/heads/trunk Commit: 40055598860fbf6176019b11fd55f481d9ef76cb Parents: a1940f7 Author: netgenius <wuhen...@otcaix.iscas.ac.cn> Authored: Thu Jun 16 23:25:21 2016 +0800 Committer: Anthony Shaw <anthonys...@apache.org> Committed: Fri Jun 24 13:53:02 2016 +1000 ---------------------------------------------------------------------- libcloud/compute/drivers/ecs.py | 2 +- libcloud/test/compute/test_ecs.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/40055598/libcloud/compute/drivers/ecs.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/drivers/ecs.py b/libcloud/compute/drivers/ecs.py index 583b98f..5165ce2 100644 --- a/libcloud/compute/drivers/ecs.py +++ b/libcloud/compute/drivers/ecs.py @@ -802,7 +802,7 @@ class ECSDriver(NodeDriver): 'SecurityGroupId': group_id} resp = self.connection.request(self.path, params) return resp.success() - + def ex_list_security_groups(self, ex_filters=None): """ List security groups in the current region. http://git-wip-us.apache.org/repos/asf/libcloud/blob/40055598/libcloud/test/compute/test_ecs.py ---------------------------------------------------------------------- diff --git a/libcloud/test/compute/test_ecs.py b/libcloud/test/compute/test_ecs.py index 05e5e63..b04ce24 100644 --- a/libcloud/test/compute/test_ecs.py +++ b/libcloud/test/compute/test_ecs.py @@ -922,5 +922,6 @@ class ECSMockHttp(MockHttpTestCase): resp_body = self.fixtures.load('describe_zones.xml') return (httplib.OK, resp_body, {}, httplib.responses[httplib.OK]) + if __name__ == '__main__': sys.exit(unittest.main())