##// END OF EJS Templates
hghave: switch from iteritems to items...
timeless -
r29141:ba899954 default
parent child Browse files
Show More
@@ -13,13 +13,13 b' import hghave'
13 checks = hghave.checks
13 checks = hghave.checks
14
14
15 def list_features():
15 def list_features():
16 for name, feature in sorted(checks.iteritems()):
16 for name, feature in sorted(checks.items()):
17 desc = feature[1]
17 desc = feature[1]
18 print(name + ':', desc)
18 print(name + ':', desc)
19
19
20 def test_features():
20 def test_features():
21 failed = 0
21 failed = 0
22 for name, feature in checks.iteritems():
22 for name, feature in checks.items():
23 check, _ = feature
23 check, _ = feature
24 try:
24 try:
25 check()
25 check()
General Comments 0
You need to be logged in to leave comments. Login now