Skip to content

Commit 21d3520

Browse files
committed
[ci]: Update make_test_base to python 2.6.x support
1 parent 46f3ac4 commit 21d3520

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.ci/make_test_base

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ def prepare_extlist(value):
1919
if "pg_pathman" in l:
2020
# remove duplicates and reorder extension list to move pg_pathman to tail
2121
nl = sorted(list(set(l)), cmp = lambda a,b: 1 if a=="pg_pathman" else -1)
22-
if len(nl) > 0:
23-
new_value = "'{}'".format(",".join(nl))
24-
else:
25-
new_value = "''"
22+
new_value = "'{0}'".format(",".join(nl))
2623
return new_value
2724
else:
2825
return value

0 commit comments

Comments
 (0)