Mercurial > hg > pyloader
changeset 66:2a9274608af3
comment + whitespace
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Jun 2011 09:24:45 -0700 |
parents | 6bb431e41e0b |
children | 236af713bbc0 |
files | pyloader/factory.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pyloader/factory.py Thu Jun 09 09:23:47 2011 -0700 +++ b/pyloader/factory.py Thu Jun 09 09:24:45 2011 -0700 @@ -188,10 +188,9 @@ # get arguments from .ini options for option, value in options.items(): - if option == '.': # positional arguments sect['args'] = cast.str2list(value) - else: + else: # keyword arguments sect.setdefault('kwargs', {})[option] = value # get the object definitions