Permalink
Browse files

allow empty strings in kv_pattern

doing ipython foo="" would fail as invalid.
  • Loading branch information...
1 parent e6204a7 commit 5d50760dbebe8be5a8827761ad304e0e64249356 @minrk committed May 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/config/loader.py
View
@@ -307,7 +307,7 @@ class CommandLineConfigLoader(ConfigLoader):
here.
"""
-kv_pattern = re.compile(r'[A-Za-z]\w*(\.\w+)*\=.+')
+kv_pattern = re.compile(r'[A-Za-z]\w*(\.\w+)*\=.*')
flag_pattern = re.compile(r'\-\-\w+(\-\w)*')
class KeyValueConfigLoader(CommandLineConfigLoader):

0 comments on commit 5d50760

Please sign in to comment.