1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

adapter/adapter.py: minor clean up

This commit is contained in:
Igor Chubin
2019-04-30 22:53:40 +02:00
parent 0060f6c8fc
commit 3bd31f94a4
+4 -2
View File
@@ -40,7 +40,9 @@ class Adapter(with_metaclass(AdapterMC, object)):
_cache_needed = False
_repository_url = None
_local_repository_location = None
_cheatsheet_files_prefix = None
_cheatsheet_files_prefix = ""
_cheatsheet_files_extension = ""
_pages_list = []
@classmethod
def _class_repr(cls):
@@ -51,7 +53,7 @@ class Adapter(with_metaclass(AdapterMC, object)):
@abc.abstractmethod
def _get_list(self, prefix=None):
return []
return self._pages_list
def get_list(self, prefix=None):
"""