summaryrefslogtreecommitdiff
path: root/aptsources/distro.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebi@sebi-laptop>2007-01-19 11:56:04 +0100
committerSebastian Heinlein <sebi@sebi-laptop>2007-01-19 11:56:04 +0100
commit11dd4cbee2d63932f851a6f9171908951ff08000 (patch)
tree0429cba2247f3830b693f1f9477a8aa12c6f6873 /aptsources/distro.py
parentcf4392ab9c6acf2eba88fe64b23603896a913ab2 (diff)
downloadpython-apt-11dd4cbee2d63932f851a6f9171908951ff08000.tar.gz
* rename aptsources to sourceslist (aptsources is already used by the
package, since the other parts were moved away this file only contains sources.list parsing and manipulating only) * rename get_ubuntu_lp_mirror to get_ubuntu_mirrors_from_lp (should be clearer) * fix some imports
Diffstat (limited to 'aptsources/distro.py')
-rw-r--r--aptsources/distro.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/aptsources/distro.py b/aptsources/distro.py
index 18a8ca46..5b4c6522 100644
--- a/aptsources/distro.py
+++ b/aptsources/distro.py
@@ -21,6 +21,14 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
+import string
+import gettext
+import re
+import os
+import sys
+from gettext import gettext as _
+
+
class Distribution:
def __init__(self, id, codename, description, release):
""" Container for distribution specific informations """