1 |
commit: 1f200fb1812faf22c048c83b17a7c27257b301c4 |
2 |
Author: Slawek Lis <slis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 27 06:56:51 2014 +0000 |
4 |
Commit: Slawek Lis <slis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 27 06:56:51 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=1f200fb1 |
7 |
|
8 |
Fixed bug when no libraries are passed |
9 |
|
10 |
--- |
11 |
pym/gentoolkit/revdep_rebuild/settings.py | 3 ++- |
12 |
1 file changed, 2 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/pym/gentoolkit/revdep_rebuild/settings.py b/pym/gentoolkit/revdep_rebuild/settings.py |
15 |
index 4774cec..cadd5f2 100644 |
16 |
--- a/pym/gentoolkit/revdep_rebuild/settings.py |
17 |
+++ b/pym/gentoolkit/revdep_rebuild/settings.py |
18 |
@@ -114,7 +114,8 @@ def parse_options(): |
19 |
settings['quiet'] = args.quiet |
20 |
settings['PRETEND'] = args.pretend |
21 |
settings['nocolor'] = args.nocolor |
22 |
- settings['library'].update(set(args.library)) |
23 |
+ if args.library: |
24 |
+ settings['library'].update(set(args.library)) |
25 |
settings['USE_TMP_FILES'] = not args.ignore |
26 |
settings['pass_through_options'] = " " + " ".join(args.portage_options) |