* common.py: Use sqlite3 instead of pysqlite2 as it forms part of Python 2.5.

* debian/control: Changed XS-Python-Version to >= 2.5.
This commit is contained in:
Jonathan Patrick Davies 2008-08-11 23:15:47 +01:00
parent 0adea5faa0
commit fb7bb815e0
3 changed files with 4 additions and 3 deletions

View File

@ -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)

3
debian/changelog vendored
View File

@ -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.

2
debian/control vendored
View File

@ -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