# HG changeset patch # User Julien Cristau # Date 1386861538 -3600 # Node ID 1348202527a649725aaa47561f9310fc90de0816 # Parent 15c695d8d8654b1598989249b8bfbbacfd64e0fe [cwctl] Don't check for old lgc versions Support for check_duplicated_command in CommandLine was added in 2011 for 0.55, and we already depend on 0.59.0. diff -r 15c695d8d865 -r 1348202527a6 cwctl.py --- a/cwctl.py Thu Dec 19 17:21:35 2013 +0100 +++ b/cwctl.py Thu Dec 12 16:18:58 2013 +0100 @@ -48,13 +48,9 @@ from cubicweb.toolsutils import Command, rm, create_dir, underline_title from cubicweb.__pkginfo__ import version -if support_args(CommandLine, 'check_duplicated_command'): - # don't check duplicated commands, it occurs when reloading site_cubicweb - CWCTL = CommandLine('cubicweb-ctl', 'The CubicWeb swiss-knife.', - version=version, check_duplicated_command=False) -else: - CWCTL = CommandLine('cubicweb-ctl', 'The CubicWeb swiss-knife.', - version=version) +# don't check duplicated commands, it occurs when reloading site_cubicweb +CWCTL = CommandLine('cubicweb-ctl', 'The CubicWeb swiss-knife.', + version=version, check_duplicated_command=False) def wait_process_end(pid, maxtry=10, waittime=1): """wait for a process to actually die"""