Fix minor pep8 issues.
Signed-off-by: Rodrigo Trujillo <rodrigo.trujillo(a)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