[Kimchi-devel] [PATCH V2 3/4] Fix pep8 issues in src/kimchi/objectstore.py

Rodrigo Trujillo rodrigo.trujillo at linux.vnet.ibm.com
Wed Apr 2 19:19:48 UTC 2014


Fix minor pep8 issues.

Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
---
 src/kimchi/objectstore.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/kimchi/objectstore.py b/src/kimchi/objectstore.py
index d960ca9..8330e48 100644
--- a/src/kimchi/objectstore.py
+++ b/src/kimchi/objectstore.py
@@ -14,7 +14,7 @@
 #
 # You should have received a copy of the GNU Lesser General Public
 # License along with this library; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
 
 import json
 import sqlite3
@@ -36,7 +36,6 @@ class ObjectStoreSession(object):
         self.conn = conn
         self.conn.text_factory = lambda x: unicode(x, "utf-8", "ignore")
 
-
     def get_list(self, obj_type):
         c = self.conn.cursor()
         res = c.execute('SELECT id FROM objects WHERE type=?', (obj_type,))
@@ -103,7 +102,8 @@ class ObjectStore(object):
         try:
             return self._connections[ident]
         except KeyError:
-            self._connections[ident] = sqlite3.connect(self.location, timeout=10)
+            self._connections[ident] = sqlite3.connect(self.location,
+                                                       timeout=10)
             if len(self._connections.keys()) > 10:
                 id, conn = self._connections.popitem(last=False)
                 conn.interrupt()
-- 
1.8.5.3




More information about the Kimchi-devel mailing list