Skip to content

Commit ac224a6

Browse files
committed
Bump hacking
hacking 3.0.x is quite old. Bump it to the latest version. Also remove the note about old pip's behavior because recent pip does not require specific order. Change-Id: I10ba6418dd7adc6a6d0b63e01b4d5c5a95cb44a2
1 parent 3131527 commit ac224a6

6 files changed

Lines changed: 7 additions & 16 deletions

File tree

doc/requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# The order of packages is significant, because pip processes them in the order
2-
# of appearance. Changing the order has an impact on the overall integration
3-
# process, which may cause wedges in the gate later.
41
sphinx>=2.0.0,!=2.1.0 # BSD
52
sphinxcontrib-apidoc>=0.2.0 # BSD
63
reno>=3.1.0 # Apache-2.0

requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# The order of packages is significant, because pip processes them in the order
2-
# of appearance. Changing the order has an impact on the overall integration
3-
# process, which may cause wedges in the gate later.
41
pbr!=2.1.0,>=2.0.0 # Apache-2.0
52
PrettyTable>=0.7.2 # BSD
63
requests>=2.14.2 # Apache-2.0

test-requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# The order of packages is significant, because pip processes them in the order
2-
# of appearance. Changing the order has an impact on the overall integration
3-
# process, which may cause wedges in the gate later.
4-
hacking>=3.0.1,<3.1.0 # Apache-2.0
1+
hacking>=7.0.0,<7.1.0 # Apache-2.0
52
coverage!=4.4,>=4.0 # Apache-2.0
63
fixtures>=3.0.0 # Apache-2.0/BSD
74
oslotest>=3.2.0 # Apache-2.0

troveclient/osc/v1/database_flavors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ def set_attributes_for_print_detail(flavor):
2323
info = flavor._info.copy()
2424
# Get rid of those ugly links
2525
if info.get('links'):
26-
del(info['links'])
26+
del info['links']
2727

2828
# Fallback to str_id for flavors, where necessary
2929
if hasattr(flavor, 'str_id'):
3030
info['id'] = flavor.id
31-
del(info['str_id'])
31+
del info['str_id']
3232
return info
3333

3434

troveclient/osc/v1/database_logs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def take_action(self, parsed_args):
3737
instance = osc_utils.find_resource(database_instances,
3838
parsed_args.instance)
3939
log_list = database_instances.log_list(instance)
40-
logs = [osc_utils.get_item_properties(l, self.columns)
41-
for l in log_list]
40+
logs = [osc_utils.get_item_properties(log, self.columns)
41+
for log in log_list]
4242
return self.columns, logs
4343

4444

troveclient/v1/shell.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ def _print_cluster(cluster, include_all=False):
141141
def _print_object(obj):
142142
# Get rid of those ugly links
143143
if obj._info.get('links'):
144-
del(obj._info['links'])
144+
del obj._info['links']
145145

146146
# Fallback to str_id for flavors, where necessary
147147
if hasattr(obj, 'str_id'):
148148
obj._info['id'] = obj.id
149-
del(obj._info['str_id'])
149+
del obj._info['str_id']
150150

151151
# Get datastore type and version, where necessary
152152
if hasattr(obj, 'datastore'):

0 commit comments

Comments
 (0)