Change system lister dir return value type
Return a list instead of a frozenset. Fixes #425
This commit is contained in:
committed by
Hernan Grecco
parent
4545f3ac49
commit
2fa76c2cfd
@@ -434,7 +434,7 @@ class Lister(object):
|
||||
self.d = d
|
||||
|
||||
def __dir__(self):
|
||||
return frozenset(self.d.keys())
|
||||
return list(self.d.keys())
|
||||
|
||||
def __getattr__(self, item):
|
||||
return self.d[item]
|
||||
|
||||
Reference in New Issue
Block a user