This is an automated email from the ASF dual-hosted git repository.
kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
The following commit(s) were added to refs/heads/master by this push:
new 74c1039b4 make scripts/add_user_to_group.py work without a
--replaces-users value
74c1039b4 is described below
commit 74c1039b4fec794ba98946f3afd7150b8c211d6b
Author: Dave Brondsema <[email protected]>
AuthorDate: Wed Jun 19 15:59:11 2024 -0400
make scripts/add_user_to_group.py work without a --replaces-users value
---
scripts/add_user_to_group.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/add_user_to_group.py b/scripts/add_user_to_group.py
index 8dfa260a8..75be9a60f 100644
--- a/scripts/add_user_to_group.py
+++ b/scripts/add_user_to_group.py
@@ -133,7 +133,7 @@ def parse_options():
'Use "ALLPROJECTS" for all projects within a
neighborhood')
parser.add_argument('--nbhd', default='/p/', help='Neighborhood '
'url_prefix. Default is /p/.')
- parser.add_argument('--replace-users', nargs='*',
+ parser.add_argument('--replace-users', nargs='*', default=[],
help='If specified, remove these username(s) and only
add the new user if one of the replace '
'user(s) was found and removed from each project')
parser.add_argument('--dry-run', action='store_true',