diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-03 10:44:21 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-03 10:44:21 +0200 |
| commit | 6ade8dd5fe013b0c42dbd8ce1bd5263da097e96e (patch) | |
| tree | d6a01074363b79a163ed8b1429ef598ead2affc8 /aptsources | |
| parent | 74412f99187519f4c70c77071efa382e440dc52d (diff) | |
| parent | dc65d59dc294bafcd93dbadd848152736ddc11c5 (diff) | |
| download | python-apt-6ade8dd5fe013b0c42dbd8ce1bd5263da097e96e.tar.gz | |
merged from the debian-sid branch
Diffstat (limited to 'aptsources')
| -rw-r--r-- | aptsources/sourceslist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aptsources/sourceslist.py b/aptsources/sourceslist.py index 61b75f75..40902d84 100644 --- a/aptsources/sourceslist.py +++ b/aptsources/sourceslist.py @@ -313,7 +313,7 @@ class SourcesList(object): for source in sources: # if there is a repo with the same (type, uri, dist) just add the # components - if source.disabled and set(source.comps) == comps: + if source.disabled and set(source.comps) == set(comps): source.disabled = False return source elif not source.disabled: |
