summaryrefslogtreecommitdiff
path: root/aptsources
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-04-30 10:33:27 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-04-30 10:33:27 +0200
commitd99c3f9f81e37bf6a625ef5cc1270656990a2309 (patch)
tree7a8c5b2446f97894822b2c470389c0ff76771e6b /aptsources
parent1bf52388c98e72768b8f883726ee7e2e2992e4ff (diff)
downloadpython-apt-d99c3f9f81e37bf6a625ef5cc1270656990a2309.tar.gz
aptsources/distro.py: fix typo (thanks to cjwatson)
Diffstat (limited to 'aptsources')
-rw-r--r--aptsources/distro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py
index debbb12a..6d3b453f 100644
--- a/aptsources/distro.py
+++ b/aptsources/distro.py
@@ -167,7 +167,7 @@ class Distribution:
# try to guess the nearest mirror from the locale
self.country = None
self.country_code = None
- locale = os.getenv("LANG", default="en.UK")
+ locale = os.getenv("LANG", default="en_UK")
a = locale.find("_")
z = locale.find(".")
if z == -1: