From 0daa1917eb8e3776f8bf81f34424ff4267628a04 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 18 Jan 2011 00:08:04 -0800 Subject: use the new dbase list_ids() --- layman/api.py | 4 ++-- 1 file 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[:] -- cgit v1.2.3-65-gdbad