diff options
author | Brian Dolbec <brian.dolbec@gmail.com> | 2011-01-18 00:08:04 -0800 |
---|---|---|
committer | Brian Dolbec <brian.dolbec@gmail.com> | 2011-01-18 00:08:04 -0800 |
commit | 0daa1917eb8e3776f8bf81f34424ff4267628a04 (patch) | |
tree | f203a68c30683e62f4b455fc949da1c22510c3c8 | |
parent | fix a bug when the selection is None (diff) | |
download | overlord-0daa1917eb8e3776f8bf81f34424ff4267628a04.tar.gz overlord-0daa1917eb8e3776f8bf81f34424ff4267628a04.tar.bz2 overlord-0daa1917eb8e3776f8bf81f34424ff4267628a04.zip |
use the new dbase list_ids()
-rw-r--r-- | layman/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layman/api.py b/layman/api.py index fe754c8..da39d49 100644 --- a/layman/api.py +++ b/layman/api.py @@ -385,14 +385,14 @@ class LaymanAPI(object): def get_available(self, reload=False): """returns the list of available overlays""" if self._available_ids is None or reload: - self._available_ids = sorted(self._get_remote_db(reload).overlays) + self._available_ids = self._get_remote_db(reload).list_ids() return self._available_ids[:] or ['None'] def get_installed(self, reload=False): """returns the list of installed overlays""" if self._installed_ids is None or reload: - self._installed_ids = sorted(self._get_installed_db(reload).overlays) + self._installed_ids = self._get_installed_db(reload).list_ids() return self._installed_ids[:] |