Skip to content

Commit 3139215

Browse files
committed
fix for latest
Change-Id: I11ef494fe202e92687c13cce72ecb0dc4bc18d3a
1 parent 8f258b4 commit 3139215

File tree

17 files changed

+12
-106
lines changed

17 files changed

+12
-106
lines changed

openstackclient/network/v2_0/floatingip.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
"""FloatingIp action implementations"""
1717

18-
from neutronclient.neutron.v2_0 import floatingip as neu2
1918
from openstackclient.network import common
2019

2120

@@ -40,7 +39,7 @@ def get_parser(self, prog_name):
4039
return parser
4140

4241
def get_body(self, parsed_args):
43-
return { self.resource: { } }
42+
return {self.resource: {}}
4443

4544

4645
class DeleteFloatingIp(common.DeleteCommand):
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +0,0 @@
1-
# Copyright 2012-2013 OpenStack, LLC.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
4-
# not use this file except in compliance with the License. You may obtain
5-
# a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12-
# License for the specific language governing permissions and limitations
13-
# under the License.
14-
#

openstackclient/network/v2_0/fw/firewall.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
"""Firewall action implementations"""
1717

18-
from neutronclient.neutron.v2_0.fw import firewall as neu2
1918
from openstackclient.network import common
2019

2120

@@ -62,7 +61,7 @@ def get_parser(self, prog_name):
6261
return parser
6362

6463
def get_body(self, parsed_args):
65-
return { self.resource: { } }
64+
return {self.resource: {}}
6665

6766

6867
class DeleteFirewall(common.DeleteCommand):

openstackclient/network/v2_0/gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def get_parser(self, prog_name):
4040
return parser
4141

4242
def get_body(self, parsed_args):
43-
return { self.func: { } }
43+
return {self.func: {}}
4444

4545

4646
class DeleteGateway(common.DeleteCommand):
Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +0,0 @@
1-
# Copyright 2012-2013 OpenStack, LLC.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
4-
# not use this file except in compliance with the License. You may obtain
5-
# a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12-
# License for the specific language governing permissions and limitations
13-
# under the License.
14-
#

openstackclient/network/v2_0/lb/member.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
"""Load Balancer member action implementations"""
1717

18-
from neutronclient.neutron.v2_0.lb import member as neu2
1918
from openstackclient.network import common
2019

2120

@@ -48,7 +47,7 @@ def get_parser(self, prog_name):
4847
return parser
4948

5049
def get_body(self, parsed_args):
51-
return { self.resource: { } }
50+
return {self.resource: {}}
5251

5352

5453
class DeleteMember(common.DeleteCommand):

openstackclient/network/v2_0/lb/vip.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
"""Load Balancer VIP action implementations"""
1717

18-
from neutronclient.neutron.v2_0.lb import vip as neu2
1918
from openstackclient.network import common
2019

2120

@@ -62,7 +61,7 @@ def get_parser(self, prog_name):
6261
return parser
6362

6463
def get_body(self, parsed_args):
65-
return { self.resource: { } }
64+
return {self.resource: {}}
6665

6766

6867
class DeleteVip(common.DeleteCommand):

openstackclient/network/v2_0/security_group.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
"""Security Group action implementations"""
1717

18-
from neutronclient.neutron.v2_0 import securitygroup as neu2
1918
from openstackclient.network import common
2019

2120

@@ -35,7 +34,7 @@ def get_parser(self, prog_name):
3534
return parser
3635

3736
def get_body(self, parsed_args):
38-
return { self.resource: { } }
37+
return {self.resource: {}}
3938

4039

4140
class DeleteSecurityGroup(common.DeleteCommand):

openstackclient/network/v2_0/security_group_rule.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import argparse
1919

20-
from neutronclient.neutron.v2_0 import securitygroup as neu2
2120
from openstackclient.network import common
2221

2322

@@ -57,7 +56,7 @@ def get_parser(self, prog_name):
5756
return parser
5857

5958
def get_body(self, parsed_args):
60-
return { self.resource: { } }
59+
return {self.resource: {}}
6160

6261

6362
class DeleteSecurityGroupRule(common.DeleteCommand):
@@ -72,7 +71,7 @@ class ListSecurityGroupRule(common.ListCommand):
7271

7372
resource = 'security_group_rule'
7473
list_columns = ['id', 'security_group_id', 'direction', 'protocol',
75-
'remote_ip_prefix','remote_group_id']
74+
'remote_ip_prefix', 'remote_group_id']
7675

7776
def get_parser(self, prog_name):
7877
parser = super(ListSecurityGroupRule, self).get_parser(prog_name)

openstackclient/network/v2_0/subnet.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
"""Subnet action implementations"""
1717

18-
from neutronclient.neutron.v2_0 import subnet as neu2
1918
from openstackclient.network import common
2019

2120

@@ -98,7 +97,7 @@ def get_parser(self, prog_name):
9897
return parser
9998

10099
def get_body(self, parsed_args):
101-
return { self.resource: { } }
100+
return {self.resource: {}}
102101

103102

104103
class DeleteSubnet(common.DeleteCommand):

0 commit comments

Comments
 (0)