Re: Syntax error at svnpubsub/daemonize.py:59

2021-05-11 Thread Ryan Schmidt
On May 11, 2021, at 12:45, Daniel Shahaf wrote: >> There is also an invalid comment at line 20: >> >> 19: # This software lives at: >> 20: #http://gstein.googlecode.com/svn/trunk/python/daemonize.py > > I don't know a forwarding address for this, sorry. I followed the redirects on

Re: svnpubsub/svnwcsub.py crashes if pidfile option is not supplied

2021-05-11 Thread sebb
On Tue, 11 May 2021 at 19:33, Daniel Shahaf wrote: > > 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 > > main(sys.argv[1:]) > > File "./svnwcsub.py", line 548, in

Re: svnpubsub/svnwcsub.py crashes if pidfile option is not supplied

2021-05-11 Thread Daniel Shahaf
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 > main(sys.argv[1:]) > File "./svnwcsub.py", line 548, in main > d = Daemon('/dev/null', os.path.abspath(options.pidfile),

Re: Syntax error at svnpubsub/daemonize.py:59

2021-05-11 Thread Daniel Shahaf
sebb wrote on Tue, 11 May 2021 16:22 +00:00: > The code reads: > > 58:except (ChildTerminatedAbnormally, ChildForkFailed, > 59:DaemonTerminatedAbnormally, DaemonForkFailed), e: > > The ',' is invalid syntax; it should be 'as'. +1 to commit. Feel free to also nominate it for

svnpubsub/svnwcsub.py crashes if pidfile option is not supplied

2021-05-11 Thread sebb
As the subject says, the code crashes as below unless --pidfile is provided File "./svnwcsub.py", line 559, in main(sys.argv[1:]) File "./svnwcsub.py", line 548, in main d = Daemon('/dev/null', os.path.abspath(options.pidfile), File

Syntax error at svnpubsub/daemonize.py:59

2021-05-11 Thread sebb
The code reads: 58:except (ChildTerminatedAbnormally, ChildForkFailed, 59:DaemonTerminatedAbnormally, DaemonForkFailed), e: The ',' is invalid syntax; it should be 'as'. There is also an invalid comment at line 20: 19: # This software lives at: 20: #