summaryrefslogtreecommitdiffstats
path: root/whiteout.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-12-13 23:08:59 +0000
committerJeremy Katz <katzj@redhat.com>2005-12-13 23:08:59 +0000
commitc37cc19deac6366fb3d69d99a20dcd1bb0a107be (patch)
tree3d68f93ff86e34028e7432353e44fb1f84129e92 /whiteout.py
parentbea55e0673a2f612984a66fdd5572feb4ad4d760 (diff)
downloadanaconda-c37cc19deac6366fb3d69d99a20dcd1bb0a107be.tar.gz
anaconda-c37cc19deac6366fb3d69d99a20dcd1bb0a107be.tar.xz
anaconda-c37cc19deac6366fb3d69d99a20dcd1bb0a107be.zip
2005-12-13 Jeremy Katz <katzj@redhat.com>
* whiteout.py (whitetup): Break the whiteout into tuples * yuminstall.py (tsCheck): Use whiteout tuple instead of string for a minor speed improvement.
Diffstat (limited to 'whiteout.py')
-rw-r--r--whiteout.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/whiteout.py b/whiteout.py
index c6df6f67e..5c28483f4 100644
--- a/whiteout.py
+++ b/whiteout.py
@@ -87,6 +87,8 @@ whiteout="""
nautilus>nautilus-cd-burner
"""
+whitetup = map(lambda x: (x.split(">")[0], x.split(">")[1]), whiteout.split())
+
#rpm.addMacro("_dependency_whiteout", whiteout)
# ts coloring, more hacks to workaround #92285