diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-04-01 17:00:26 +0200 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-04-01 17:00:26 +0200 |
commit | c2d1bfec49b004cc7f850d39e9ad2db195868e81 (patch) | |
tree | 67b4f223217ce180001afa439af5d3a0d47482e0 /rhodecode/lib | |
parent | 204b78ca58e8c890ed6851a5b65aa2845a2e39d4 (diff) |
Add support for change-repo-ownership script.
Diffstat (limited to 'rhodecode/lib')
-rw-r--r-- | rhodecode/lib/system_command.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rhodecode/lib/system_command.py b/rhodecode/lib/system_command.py index daa62123..14d25289 100644 --- a/rhodecode/lib/system_command.py +++ b/rhodecode/lib/system_command.py @@ -71,3 +71,7 @@ class SystemCommand(): except: return {} + @classmethod + def change_ownership(cls, path, group): + cmd_args = ["change-repo-ownership", path, group] + cls.execute(cmd_args) |