diff options
| author | Sebastian Heinlein <sebi@sebi-laptop> | 2006-12-28 12:44:35 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-laptop> | 2006-12-28 12:44:35 +0100 |
| commit | 66487b73b1418975bc018d97e0a7c407ebcf03b8 (patch) | |
| tree | 1972c220b77fd640ce2ced9dba8ccf27d783d678 | |
| parent | f4699109e1790054461ccd16e29e25f68eb648cc (diff) | |
| download | python-apt-66487b73b1418975bc018d97e0a7c407ebcf03b8.tar.gz | |
* make the get_repo_urls method return some values
| -rw-r--r-- | AptSources/DistInfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AptSources/DistInfo.py b/AptSources/DistInfo.py index 0e41e863..48f098dd 100644 --- a/AptSources/DistInfo.py +++ b/AptSources/DistInfo.py @@ -98,7 +98,7 @@ class Mirror: return len(filter(lambda r: (r.proto == proto) and dir in r.dir, self.repositories)) > 0 def get_repo_urls(self): - print map(lambda r: r.get_url(self.hostname), self.repositories) + return map(lambda r: r.get_url(self.hostname), self.repositories) class Repository: def __init__(self, proto, dir): |
