#912 Fix bug in restore_project.py

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2010-09-14
No

Hey there. I tried out the latest restore_project.py script, adding the extra unix-name arg to make the script get past the usage, and it dies here:

File "/var/local/allura/scripts/restore_project.py", line 44, in restore_project
    project.set_tool_data('sfx', 'unix_group_name', new_unix_group_name)
TypeError: set_tool_data() takes exactly 2 arguments (4 given)

Discussion

  • Rick Copeland - 2010-09-14

    Should be:

    project.set_tool_data('sfx', unix_group_name=new_unix_group_name)
    
     
  • Rick Copeland - 2010-09-14
    • status: code-review --> closed
    • custom_field__size: 1 --> 1
     

Log in to post a comment.