command 'ls' always refetch objects
This commit is contained in:
parent
44f8123aae
commit
c159a5d43e
1 changed files with 1 additions and 2 deletions
|
|
@ -810,8 +810,7 @@ class ReplApplication(Cmd, ConsoleApplication):
|
||||||
browser = Browser(view=page.view)
|
browser = Browser(view=page.view)
|
||||||
|
|
||||||
def do_ls(self, line):
|
def do_ls(self, line):
|
||||||
if len(self.objects) == 0:
|
self.objects = self._fetch_objects()
|
||||||
self.objects = self._fetch_objects()
|
|
||||||
|
|
||||||
for obj in self.objects:
|
for obj in self.objects:
|
||||||
if isinstance(obj, CapBaseObject):
|
if isinstance(obj, CapBaseObject):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue