There's no value in offering a link to go to the same place
you're already at, it's just clutter. Should it really be
necessary there's always a browser refresh instead.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
if (name not in (b'.', b'..')) and name.startswith(b'.'):
continue
if name == b'.':
- yield display_info(name, item, item, b'.')
parent_item = resolution[-2][1] if len(resolution) > 1 else dir_item
yield display_info(b'..', parent_item, parent_item, b'..')
continue