Skip to content

Commit e628d52

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Consume openstackclient.common.command in subnet/port"
2 parents ceb17e1 + 77ce1c1 commit e628d52

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

openstackclient/network/v2/port.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
"""Port action implementations"""
1515

16-
from cliff import command
16+
from openstackclient.common import command
1717

1818

1919
class DeletePort(command.Command):

openstackclient/network/v2/subnet.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313

1414
"""Subnet action implementations"""
1515

16-
from cliff import lister
17-
16+
from openstackclient.common import command
1817
from openstackclient.common import utils
1918

2019

@@ -31,7 +30,7 @@ def _format_allocation_pools(data):
3130
}
3231

3332

34-
class ListSubnet(lister.Lister):
33+
class ListSubnet(command.Lister):
3534
"""List subnets"""
3635

3736
def get_parser(self, prog_name):

0 commit comments

Comments
 (0)