diff options
author | Erik Troan <ewt@redhat.com> | 2000-08-24 23:29:35 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 2000-08-24 23:29:35 +0000 |
commit | e7c4e8dfc8450da1c380b95540624f3fd0ce11ec (patch) | |
tree | 3ba8b32892d0005ca35eef5832d89d867f61a05b /comps.py | |
parent | 02d6b18485e5272b18fbd756c86d7703e3d9640a (diff) | |
download | anaconda-e7c4e8dfc8450da1c380b95540624f3fd0ce11ec.tar.gz anaconda-e7c4e8dfc8450da1c380b95540624f3fd0ce11ec.tar.xz anaconda-e7c4e8dfc8450da1c380b95540624f3fd0ce11ec.zip |
don't let the selcetionCount go negative
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,7 +177,7 @@ class Component: for pkg in self.pkgs: pkg.updateSelectionCache() - + for comp in self.includes: comp.select(forInclude = 1) @@ -192,7 +192,7 @@ class Component: if forInclude: self.selectionCount = self.selectionCount - 1 if self.selectionCount < 0: - self.selectCount = 0 + self.selectionCount = 0 else: self.manuallySelected = 0 |