From feb2ffbf6a5e2b67c70580916ea6b121ba3ba24d Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 4 Jun 2009 17:46:16 +0200 Subject: [PATCH] fix typo --- libraries/entropy/db.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libraries/entropy/db.py b/libraries/entropy/db.py index ae8b5d1d4..112f79f45 100644 --- a/libraries/entropy/db.py +++ b/libraries/entropy/db.py @@ -2907,7 +2907,8 @@ class LocalRepository: data = dict(((x, y,) for x, y in data)) return data - def retrieveContent(self, idpackage, extended = False, contentType = None, formatted = False, insert_formatted = False, order_by = ''): + def retrieveContent(self, idpackage, extended = False, contentType = None, + formatted = False, insert_formatted = False, order_by = ''): extstring = '' if extended: @@ -4220,7 +4221,7 @@ class LocalRepository: def dropContent(self): with self.__write_mutex: - self.cursur.execute('DELETE FROM content') + self.cursor.execute('DELETE FROM content') def dropAllIndexes(self): self.cursor.execute('SELECT name FROM SQLITE_MASTER WHERE type = "index"')