Quick fix to slapconsole setup

parent 1cd75ab8
...@@ -68,7 +68,8 @@ class Parser(OptionParser): ...@@ -68,7 +68,8 @@ class Parser(OptionParser):
elif not os.path.isfile(args[0]): elif not os.path.isfile(args[0]):
self.error("%s: Not found or not a regular file." % args[0]) self.error("%s: Not found or not a regular file." % args[0])
return options, args # Return options and only first element of args since there is only one.
return options, args[0]
def argToDict(element): def argToDict(element):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment