From 909afd209034ec26bca6f8c5d646852b2bd62c3e Mon Sep 17 00:00:00 2001 From: Devan Franchini Date: Fri, 16 Oct 2015 23:19:25 -0400 Subject: dbbase.py: Whitespace cleanup Shamelessly hiding the fact that I'm also ammending the lack of self.db_type use in the remove() function. --- layman/dbbase.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layman/dbbase.py b/layman/dbbase.py index ebcd7a4..c2b25b8 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -173,8 +173,8 @@ class DbBase(object): self.output.die(msg) return db_ctl - - + + def add_new(self, xml=None, origin=None, from_dict=None): ''' Reads xml text and dictionary definitions and adds @@ -229,7 +229,7 @@ class DbBase(object): ''' Remove an overlay from the database. ''' - db_ctl = self._get_dbctl(db_type) + db_ctl = self._get_dbctl(self.db_type) db_ctl.remove(overlay, path) -- cgit v1.2.3-65-gdbad