diff options
author | 2011-01-16 23:47:04 -0800 | |
---|---|---|
committer | 2011-01-16 23:47:04 -0800 | |
commit | 4288dd3297622a4368d2184ab87860de2eac242c (patch) | |
tree | 802880909a25cd0c78d97936d9d331f78277f8b8 | |
parent | create a new cli interface to use the new api (diff) | |
download | overlord-4288dd3297622a4368d2184ab87860de2eac242c.tar.gz overlord-4288dd3297622a4368d2184ab87860de2eac242c.tar.bz2 overlord-4288dd3297622a4368d2184ab87860de2eac242c.zip |
reload the _available_db after fetching
-rw-r--r-- | layman/api.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |