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