diff options
author | Brian Dolbec <brian.dolbec@gmail.com> | 2011-01-17 23:58:04 -0800 |
---|---|---|
committer | Brian Dolbec <brian.dolbec@gmail.com> | 2011-01-17 23:58:04 -0800 |
commit | bc1df9d3de8125635f9e02da2d64f32aa8f8d1db (patch) | |
tree | a3d0a3a36294a2bfae468468eb3ccf2e3f9a8864 | |
parent | add missing output statements, debug all the new actions (diff) | |
download | overlord-bc1df9d3de8125635f9e02da2d64f32aa8f8d1db.tar.gz overlord-bc1df9d3de8125635f9e02da2d64f32aa8f8d1db.tar.bz2 overlord-bc1df9d3de8125635f9e02da2d64f32aa8f8d1db.zip |
add a list_ids()
-rw-r--r-- | layman/dbbase.py | 6 |
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 |