Commit 0f5f60f7 authored by Andrey Pavlenko's avatar Andrey Pavlenko

- extra spaces are removed

- static class member modifier processing is fixed (moved from 'rettype' to 'func_modlist')
parent 2935bb29
......@@ -749,8 +749,9 @@ class PythonWrapperGenerator(object):
if __name__ == "__main__":
srcfiles = hdr_parser.opencv_hdr_list
dstdir = "/Users/vp/tmp"
if len(sys.argv) > 2:
if len(sys.argv) > 1:
dstdir = sys.argv[1]
if len(sys.argv) > 2:
srcfiles = sys.argv[2:]
generator = PythonWrapperGenerator()
generator.gen(srcfiles, dstdir)
......
This diff is collapsed.
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