summaryrefslogtreecommitdiff
path: root/SoftwareProperties
diff options
context:
space:
mode:
Diffstat (limited to 'SoftwareProperties')
-rw-r--r--SoftwareProperties/__init__.py1
-rw-r--r--SoftwareProperties/aptsources.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/SoftwareProperties/__init__.py b/SoftwareProperties/__init__.py
index 1e6834bd..e69de29b 100644
--- a/SoftwareProperties/__init__.py
+++ b/SoftwareProperties/__init__.py
@@ -1 +0,0 @@
-from SoftwareProperties import SoftwareProperties
diff --git a/SoftwareProperties/aptsources.py b/SoftwareProperties/aptsources.py
index 3e8d522e..c0d2c2ba 100644
--- a/SoftwareProperties/aptsources.py
+++ b/SoftwareProperties/aptsources.py
@@ -517,3 +517,5 @@ if __name__ == "__main__":
"http://de.archive.ubuntu.com/ubuntu/")
print "is_mirror(): %s" % mirror
+ print sources.is_mirror("http://archive.ubuntu.com/ubuntu",
+ "http://de.archive.ubuntu.com/ubuntu/")