1 |
commit: f0105a0b726047cf83c8263024c1ecf6049ce48d |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 2 01:02:36 2013 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Nov 21 09:00:12 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=f0105a0b |
7 |
|
8 |
Workaround fix for bug reported by tstellar. |
9 |
|
10 |
Will be fixed properly once config.py is migrated to configparser. |
11 |
|
12 |
--- |
13 |
catalyst/targets/livecd_stage2.py | 3 +++ |
14 |
1 file changed, 3 insertions(+) |
15 |
|
16 |
diff --git a/catalyst/targets/livecd_stage2.py b/catalyst/targets/livecd_stage2.py |
17 |
index 4016f57..5f6e86c 100644 |
18 |
--- a/catalyst/targets/livecd_stage2.py |
19 |
+++ b/catalyst/targets/livecd_stage2.py |
20 |
@@ -79,6 +79,9 @@ class livecd_stage2(StageBase): |
21 |
print_traceback=True) |
22 |
|
23 |
myf.write("\n#Added by Catalyst:") |
24 |
+ # workaround until config.py is using configparser |
25 |
+ if isinstance(self.settings["livecd/modblacklist"], str): |
26 |
+ self.settings["livecd/modblacklist"] = self.settings["livecd/modblacklist"].split() |
27 |
for x in self.settings["livecd/modblacklist"]: |
28 |
myf.write("\nblacklist "+x) |
29 |
myf.close() |