Skip to content
Snippets Groups Projects
Commit 4584eec9 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

getset: check if an object is a baseset using `isascending` instead of `set`

The `set()` method is going away.
parent e7b8cf35
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@
if not x:
raise error.ParseError(_("missing argument"))
s = methods[x[0]](repo, subset, *x[1:])
if util.safehasattr(s, 'set'):
if util.safehasattr(s, 'isascending'):
return s
return baseset(s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment