From fb7bb815e0c3eee19b60019bafd3d2913e3420b5 Mon Sep 17 00:00:00 2001 From: Jonathan Patrick Davies Date: Mon, 11 Aug 2008 23:15:47 +0100 Subject: [PATCH] * common.py: Use sqlite3 instead of pysqlite2 as it forms part of Python 2.5. * debian/control: Changed XS-Python-Version to >= 2.5. --- common.py | 2 +- debian/changelog | 3 ++- debian/control | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common.py b/common.py index 4f4ec4c..3abb47d 100644 --- a/common.py +++ b/common.py @@ -58,7 +58,7 @@ def prepareLaunchpadCookie(): # Found SQLite file. Parse information from it. if launchpad_cookiefile.find('cookies.sqlite') != -1: - from pysqlite2 import dbapi2 as sqlite + import sqlite3 as sqlite con = sqlite.connect(launchpad_cookiefile) diff --git a/debian/changelog b/debian/changelog index 637e87c..f8d0bb4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,7 +14,8 @@ ubuntu-dev-tools (0.37ubuntu1) intrepid; urgency=low * debian/ubuntu-dev-tools.install: Added line to install common.py above to the correct location. * requestsync: Use the functions in the common.py file above to authenticate - with Launchpad + with Launchpad. + * debian/control: Changed XS-Python-Version to >= 2.5. [ Siegfried-Angel Gevatter Pujals ] * Add the GNU General Public License header to all scripts. diff --git a/debian/control b/debian/control index 4e351fb..c9290d3 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk Vcs-Browser: http://codebrowse.launchpad.net/~ubuntu-dev/ubuntu-dev-tools/trunk/changes Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5), python-all-dev (>= 2.4) Build-Depends-Indep: python-central (>= 0.5) -XS-Python-Version: all +XS-Python-Version: >= 2.5 Homepage: https://launchpad.net/ubuntu-dev-tools/ Standards-Version: 3.8.0