sebb wrote on Tue, 11 May 2021 16:25 +00:00:
> As the subject says, the code crashes as below unless --pidfile is provided
> 
>   File "./svnwcsub.py", line 559, in <module>
>     main(sys.argv[1:])
>   File "./svnwcsub.py", line 548, in main
>     d = Daemon('/dev/null', os.path.abspath(options.pidfile),
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py",
>  line 367, in abspath
>     if not isabs(path):
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py",
>  line 54, in isabs
>     return s.startswith('/')
> AttributeError: 'NoneType' object has no attribute 'startswith'

Any chance of a patch?  Feel free to just make --pidfile required, if
making it properly optional is a larger diff than you have tuits for.

Reply via email to