commit:     909afd209034ec26bca6f8c5d646852b2bd62c3e
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 03:19:25 2015 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 03:19:28 2015 +0000
URL:        https://gitweb.gentoo.org/proj/layman.git/commit/?id=909afd20

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)
 
 

Reply via email to