diff options
author | Matt Wilson <msw@redhat.com> | 2001-10-30 19:19:21 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-10-30 19:19:21 +0000 |
commit | fd95f5f5980b8491d212535db79d4375a786d9b0 (patch) | |
tree | cf2c9088aba726a8eb070ca50e18a496227461ee /comps.py | |
parent | 886550262ce7bd5f454865add63f97ad90d9f4f6 (diff) | |
download | anaconda-fd95f5f5980b8491d212535db79d4375a786d9b0.tar.gz anaconda-fd95f5f5980b8491d212535db79d4375a786d9b0.tar.xz anaconda-fd95f5f5980b8491d212535db79d4375a786d9b0.zip |
use startswith
Diffstat (limited to 'comps.py')
-rw-r--r-- | comps.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -519,7 +519,7 @@ class ComponentSet: if (comp == None): (default, l) = split(l, None, 1) hidden = 0 - if (l[0:6] == "--hide"): + if (l.startswith('--hide')): hidden = 1 (foo, l) = split(l, None, 1) (l, trash) = split(l, '{', 1) |