From 0b0872c2961b05302cc825946e99324636e2fc73 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Mon, 6 Oct 2008 21:48:19 -1000 Subject: [PATCH] More debugging output in instroot. --- src/pylorax/instroot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pylorax/instroot.py b/src/pylorax/instroot.py index e6ed3a33..03975acd 100644 --- a/src/pylorax/instroot.py +++ b/src/pylorax/instroot.py @@ -213,8 +213,9 @@ def scrubInstRoot(destdir=None, libdir='lib'): gtk_engine = engine_line[engine_line.find('"') + 1:].replace('"', '') print " gtk-engine: %s" % (gtk_engine,) break - if line.startswith('gtk-icon-theme-name'): + elif line.startswith('gtk-icon-theme-name'): icon_theme = line[line.find('=') + 1:].replace('"', '').strip() + print " gtk-icon-theme-name: %s" % (icon_theme,) gtk_icon_themes.append(icon_theme) # bring in all inherited themes @@ -231,7 +232,7 @@ def scrubInstRoot(destdir=None, libdir='lib'): if icon_line.startswith('Inherits='): inherits = True icon_theme = icon_line[icon_line.find('=') + 1:].replace('"', '') - print " gtk-icon-theme-name: %s" % (icon_theme,) + print " inherits gtk-icon-theme-name: %s" % (icon_theme,) gtk_icon_themes.append(icon_theme) break