summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-12-10 21:46:36 +0000
committerJeremy Katz <katzj@redhat.com>2005-12-10 21:46:36 +0000
commitd0bd7620f31f4cc11d8325d59d3042210d8215a9 (patch)
treea3f6bc56cae02b6d547e27f8c57065e2966f5cd9 /yuminstall.py
parentd39d25f29b78a29be6b92ba98f3d5f0b0b59a2b3 (diff)
downloadanaconda-d0bd7620f31f4cc11d8325d59d3042210d8215a9.tar.gz
anaconda-d0bd7620f31f4cc11d8325d59d3042210d8215a9.tar.xz
anaconda-d0bd7620f31f4cc11d8325d59d3042210d8215a9.zip
2005-12-10 Jeremy Katz <katzj@redhat.com>
* yuminstall.py: Use TS_INSTALL_STATES instead of enumerating
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yuminstall.py b/yuminstall.py
index cd5763a8c..fbd730659 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -288,7 +288,7 @@ class YumSorter(yum.YumBase):
def tsCheck(self):
unresolved = []
for txmbr in self.tsInfo.getMembers():
- if txmbr.output_state not in [ TS_UPDATE, TS_INSTALL, TS_TRUEINSTALL]:
+ if txmbr.output_state not in TS_INSTALL_STATES:
continue
reqs = txmbr.po.returnPrco('requires')
provs = txmbr.po.returnPrco('provides')