X Tutup
Skip to content

Commit fc2d612

Browse files
committed
Bump hacking
hacking 3.0.x is too old. Bump it to the latest version available. Also remove the note about old pip's behavior because recent pip does not require specific order. Change-Id: Ibc1ee07b20ae6271380816bed6a4a8116352cf8a
1 parent 49fd3d1 commit fc2d612

File tree

4 files changed

+4
-15
lines changed

4 files changed

+4
-15
lines changed

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
openstackdocstheme>=2.2.0 # Apache-2.0
63
reno>=3.1.0 # Apache-2.0

requirements.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Requirements lower bounds listed here are our best effort to keep them up to
22
# date but we do not test them so no guarantee of having them all correct. If
3-
# you find any incorrect lower bounds, let us know or propose a fix.
4-
5-
# The order of packages is significant, because pip processes them in the order
6-
# of appearance. Changing the order has an impact on the overall integration
7-
# process, which may cause wedges in the gate later.
3+
# you find any incorrect lower bounds, let us know or propose a fix.
84

95
pbr>=3.1.1 # Apache-2.0
106
cliff!=2.9.0,>=2.8.0 # Apache-2.0

test-requirements.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +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-
5-
hacking>=3.0.1,<3.1.0 # Apache-2.0
1+
hacking>=7.0.0,<7.1.0 # Apache-2.0
62
coverage>=4.5.1 # Apache-2.0
73
python-subunit>=1.2.0 # Apache-2.0/BSD
84
oslotest>=3.3.0 # Apache-2.0

vitrageclient/common/formatters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def _reformat(data):
7373
@staticmethod
7474
def _list2str(node):
7575
for k, v in node.items():
76-
if type(v) == list:
76+
if type(v) is list:
7777
node[k] = str(v)
78-
if type(v) == str and ":" in v:
78+
if type(v) is str and ":" in v:
7979
node[k] = '"' + v + '"'
8080

8181
@abc.abstractmethod

0 commit comments

Comments
 (0)
X Tutup