Commit 49858230 authored by Łukasz Nowak's avatar Łukasz Nowak

- execute only when run, use python2.4

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25800 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3a9d6d67
#!/usr/bin/python #!/usr/bin/python2.4
############################################################################## ##############################################################################
# #
...@@ -181,8 +181,11 @@ def parseargs(): ...@@ -181,8 +181,11 @@ def parseargs():
usage(1, msg) usage(1, msg)
return options return options
options = parseargs() def main():
recover( options = parseargs()
recover(
data_fs_backup_path_dict=options.data_fs_backup_path_dict, data_fs_backup_path_dict=options.data_fs_backup_path_dict,
status_file=options.status_file) status_file=options.status_file)
if __name__ == '__main__':
sys.exit(main())
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment