catch correct exception when we try to use set_restart_command()

This commit is contained in:
Yann Leboulanger 2007-02-12 19:59:40 +00:00
parent a5b0e51dcb
commit 0f91b1cdad
1 changed files with 1 additions and 1 deletions

View File

@ -2274,7 +2274,7 @@ if __name__ == '__main__':
# NORMALLY]
try:
cli.set_restart_command(argv)
except TypeError:
except AttributeError:
cli.set_restart_command(len(argv), argv)
check_paths.check_and_possibly_create_paths()