Changed command-line separator from module:file to module=file so that it works cross-platform

This commit is contained in:
hbristow
2013-08-08 05:26:56 +10:00
parent 3bf41c2832
commit a659562c36
2 changed files with 5 additions and 5 deletions

View File

@@ -27,8 +27,8 @@ class MatlabWrapperGenerator(object):
rst.definitions = {}
for extra in extras:
module = extra.split(":")[0]
header = extra.split(":")[1]
module = extra.split("=")[0]
header = extra.split("=")[1]
ns[module] = ns[module] + parser.parse(header) if module in ns else parser.parse(header)
# cleanify the parser output