changeset 24:ce8fa574324d

fix syntax error
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 06 Jun 2011 07:46:47 -0700
parents 9b2ca32e7a36
children 8aabb54129a7
files pyloader/factory.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pyloader/factory.py	Mon Jun 06 07:46:18 2011 -0700
+++ b/pyloader/factory.py	Mon Jun 06 07:46:47 2011 -0700
@@ -135,7 +135,7 @@
                 except (InterpolationMissingOptionError, InterpolationSyntaxError):
                     value = parser.get(section, option, raw=True)
 
-                if option = '.': # positional arguments
+                if option == '.': # positional arguments
                     sect['args'] = cast.str2list(value)
                 else:
                     sect.setdefault('kwargs', {})[option] = value