Show More
@@ -1151,6 +1151,8 def reverse(repo, subset, x): | |||||
1151 | Reverse order of set. |
|
1151 | Reverse order of set. | |
1152 | """ |
|
1152 | """ | |
1153 | l = getset(repo, subset, x) |
|
1153 | l = getset(repo, subset, x) | |
|
1154 | if not isinstance(l, list): | |||
|
1155 | l = list(l) | |||
1154 | l.reverse() |
|
1156 | l.reverse() | |
1155 | return l |
|
1157 | return l | |
1156 |
|
1158 |
General Comments 0
You need to be logged in to leave comments.
Login now