aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <brian.dolbec@gmail.com>2011-01-17 23:58:04 -0800
committerBrian Dolbec <brian.dolbec@gmail.com>2011-01-17 23:58:04 -0800
commitbc1df9d3de8125635f9e02da2d64f32aa8f8d1db (patch)
treea3d0a3a36294a2bfae468468eb3ccf2e3f9a8864
parentadd missing output statements, debug all the new actions (diff)
downloadoverlord-bc1df9d3de8125635f9e02da2d64f32aa8f8d1db.tar.gz
overlord-bc1df9d3de8125635f9e02da2d64f32aa8f8d1db.tar.bz2
overlord-bc1df9d3de8125635f9e02da2d64f32aa8f8d1db.zip
add a list_ids()
-rw-r--r--layman/dbbase.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/layman/dbbase.py b/layman/dbbase.py
index 3ba8bb3..67c4962 100644
--- a/layman/dbbase.py
+++ b/layman/dbbase.py
@@ -252,6 +252,12 @@ class DbBase:
return result
+ def list_ids(self):
+ """returns a list of the overlay names
+ """
+ return sorted(self.overlays)
+
+
#===============================================================================
#
# Testing