From 79d16d72cd530acbee682ebee44d5b1d2010c661 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Sun, 17 Nov 2013 17:25:01 -0500 Subject: initial import of debian package to build with autobuilder --- debian/patches/fix-space-before-keywords.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/patches/fix-space-before-keywords.patch (limited to 'debian/patches/fix-space-before-keywords.patch') diff --git a/debian/patches/fix-space-before-keywords.patch b/debian/patches/fix-space-before-keywords.patch new file mode 100644 index 0000000..0d44170 --- /dev/null +++ b/debian/patches/fix-space-before-keywords.patch @@ -0,0 +1,16 @@ +Description: Allow whitespace before keywords +Author: Марк Коренберг + +Index: python-sqlite/sqlite/main.py +=================================================================== +--- python-sqlite.orig/sqlite/main.py 2004-10-21 12:13:25.000000000 +0200 ++++ python-sqlite/sqlite/main.py 2011-12-19 21:47:47.472609323 +0100 +@@ -233,7 +233,7 @@ + if self.con.autocommit: + pass + else: +- if not(self.con.inTransaction or SQL[:6].upper() in ("SELECT","VACUUM","DETACH")): ++ if not(self.con.inTransaction or SQL.lstrip()[:6].upper() in ("SELECT","VACUUM","DETACH")): + self.con._begin() + self.con.inTransaction = 1 + -- cgit v1.2.3