aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <brian.dolbec@gmail.com>2011-01-16 23:47:04 -0800
committerBrian Dolbec <brian.dolbec@gmail.com>2011-01-16 23:47:04 -0800
commit4288dd3297622a4368d2184ab87860de2eac242c (patch)
tree802880909a25cd0c78d97936d9d331f78277f8b8
parentcreate a new cli interface to use the new api (diff)
downloadoverlord-4288dd3297622a4368d2184ab87860de2eac242c.tar.gz
overlord-4288dd3297622a4368d2184ab87860de2eac242c.tar.bz2
overlord-4288dd3297622a4368d2184ab87860de2eac242c.zip
reload the _available_db after fetching
-rw-r--r--layman/api.py1
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