From 4288dd3297622a4368d2184ab87860de2eac242c Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sun, 16 Jan 2011 23:47:04 -0800 Subject: reload the _available_db after fetching --- layman/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/layman/api.py b/layman/api.py index 0a5a0fa..e722087 100644 --- a/layman/api.py +++ b/layman/api.py @@ -376,6 +376,7 @@ class LaymanAPI(object): self._error(-1,'Failed to fetch overlay list!\n Original Error was: ' + str(error)) return False + self.get_available(reload=True) return True -- cgit v1.2.3-65-gdbad