Running python example/example-config.py results in the following output:
Traceback (most recent call last):
File "examples/example-config.py", line 6, in <module>
argparser = ws.config.getArgParser(name="example", description="Simple example")
File "/home/alex/code/wiki-scripts/ws/config.py", line 137, in getArgParser
ap = configargparse.ArgParser(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'name'
The getArgParser function, stored in the ws.config module, has no name argument anymore. It was replaced with the subname argument which is set to None by default.
I delete the unnecessary argument. Running grep -Fr 'getArgParser' . in the project root shows that there is no other erroneous functions, so this seems to be the only one.
Otherwise, everything looks like the scripts in the examples directory are quite functional. Only the list-unwatched-pages.py script does not work because I have no enough rights to use it:
The current user does not have the 'unwatchedpages' right, which is necessary to use this script. Sorry.
Because of he says "Sorry" I will not try to punish him. :-)
Running
python example/example-config.py
results in the following output:The
getArgParser
function, stored in thews.config
module, has noname
argument anymore. It was replaced with thesubname
argument which is set toNone
by default.I delete the unnecessary argument. Running
grep -Fr 'getArgParser' .
in the project root shows that there is no other erroneous functions, so this seems to be the only one.Otherwise, everything looks like the scripts in the
examples
directory are quite functional. Only thelist-unwatched-pages.py
script does not work because I have no enough rights to use it:Because of he says "Sorry" I will not try to punish him. :-)