diff options
| author | Sebastian Heinlein <sebi@sebi-pc.daheim> | 2006-11-26 10:39:48 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebi@sebi-pc.daheim> | 2006-11-26 10:39:48 +0100 |
| commit | 64be9ca0d20252695e2638c1f4b15b2db4588a8e (patch) | |
| tree | 7b496bd1876cf37c0e340b30a481baff28350571 | |
| parent | 2ae2f721c0d63c267dbb431b3426275fb42bfd8f (diff) | |
| download | python-apt-64be9ca0d20252695e2638c1f4b15b2db4588a8e.tar.gz | |
* Use the new data path
| -rw-r--r-- | AptSources/DistInfo.py | 4 | ||||
| -rw-r--r-- | AptSources/aptsources.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/AptSources/DistInfo.py b/AptSources/DistInfo.py index 57621f52..2dbd9a1b 100644 --- a/AptSources/DistInfo.py +++ b/AptSources/DistInfo.py @@ -52,7 +52,7 @@ class Component: class DistInfo: def __init__(self, dist = None, - base_dir = "/usr/share/update-manager/channels"): + base_dir = "/usr/share/python-aptsources/templates"): self.metarelease_uri = '' self.suites = [] @@ -148,7 +148,7 @@ class DistInfo: if __name__ == "__main__": - d = DistInfo ("Ubuntu", "../../data/channels") + d = DistInfo ("Ubuntu", "../../data/templates") print d.changelogs_uri for suite in d.suites: print "\nSuite: %s" % suite.name diff --git a/AptSources/aptsources.py b/AptSources/aptsources.py index 7078147f..713b0ff8 100644 --- a/AptSources/aptsources.py +++ b/AptSources/aptsources.py @@ -219,7 +219,7 @@ class SourcesList: """ represents the full sources.list + sources.list.d file """ def __init__(self, withMatcher=True, - matcherPath="/usr/share/update-manager/channels/"): + matcherPath="/usr/share/python-aptsources/templates/"): self.list = [] # the actual SourceEntries Type if withMatcher: self.matcher = SourceEntryMatcher(matcherPath) |
