summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@sebi-laptop>2006-11-27 11:04:15 +0100
committerSebastian Heinlein <sebi@sebi-laptop>2006-11-27 11:04:15 +0100
commite3547525458890ccb6067b9e0d830cae25d6e8e2 (patch)
treed3a2fb8cc866a002ff5c86417e9ad4f9b94cbaf9
parent48c981db5adea85ed38acf7fca0e63f5ae5b1b97 (diff)
parent21a2e05e903ace1ba6ac977811074146973fb4f4 (diff)
downloadpython-apt-e3547525458890ccb6067b9e0d830cae25d6e8e2.tar.gz
* merge with debian branch
-rw-r--r--AptSources/aptsources.py3
-rw-r--r--debian/changelog2
-rw-r--r--debian/control4
-rw-r--r--debian/dirs2
-rw-r--r--debian/docs0
5 files changed, 4 insertions, 7 deletions
diff --git a/AptSources/aptsources.py b/AptSources/aptsources.py
index 713b0ff8..e29114e1 100644
--- a/AptSources/aptsources.py
+++ b/AptSources/aptsources.py
@@ -543,6 +543,7 @@ class Distribution:
# try to guess the nearest mirror from the locale
# FIXME: for debian we need something different
+ self.country = None
if self.id == "Ubuntu":
locale = os.getenv("LANG", default="en.UK")
a = locale.find("_")
@@ -554,8 +555,6 @@ class Distribution:
country_code
if self.countries.has_key(country_code):
self.country = self.countries[country_code]
- else:
- self.country = None
# other used servers
for medium in self.used_media:
diff --git a/debian/changelog b/debian/changelog
index dc89f8be..99cfc55e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-aptsources (0.0.1) unstable; urgency=low
+python-aptsources (0.0.1) feisty; urgency=low
* Initial Release.
diff --git a/debian/control b/debian/control
index 1ede02b3..5f661bc6 100644
--- a/debian/control
+++ b/debian/control
@@ -1,9 +1,9 @@
Source: python-aptsources
-Section: unknown
+Section: python
Priority: optional
XS-Python-Version: all
Maintainer: Sebastian Heinlein <glatzor@ubuntu.com>
-Build-Depends: cdbs, debhelper (>= 5.0.37.2), python-central (>= 0.5), python-distutils-extra
+Build-Depends: cdbs, debhelper (>= 5.0.37.2), python-central (>= 0.5), python-distutils-extra, python-all-dev
Standards-Version: 3.7.2
Package: python-aptsources
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644
index ca882bbb..00000000
--- a/debian/dirs
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644
index e69de29b..00000000
--- a/debian/docs
+++ /dev/null