Skip to content

Commit 68fc493

Browse files
committed
forgot
1 parent 72fb87b commit 68fc493

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: bbcli.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def run(operation, filereport, repo, user, group, grant, backupfilepath, repoall
7171
answer = input("This command will change/create the group '{}' with permission '{}' for repo '{}', are you sure? yes/no ".format(group, grant,repo))
7272
if 'yes' in answer:
7373
print("run on repo {}".format(repo))
74-
#setRepoGroupPermissions(ac, group.lower(), repo, grant)
74+
setRepoGroupPermissions(ac, group.lower(), repo, grant)
7575
else:
7676
# Single request doesn't not work as expected so I need to iterate over the group repos
7777
ac.connect()
@@ -80,7 +80,7 @@ def run(operation, filereport, repo, user, group, grant, backupfilepath, repoall
8080
repos = listgroup_repos(ac, group.lower())
8181
for repo in repos:
8282
print("run on repo {}".format(repo))
83-
#setRepoGroupPermissions(ac, group.lower(), repo, grant)
83+
setRepoGroupPermissions(ac, group.lower(), repo, grant)
8484
if operation == 'groupinfo':
8585
ac.connect()
8686
group_info(ac, group.lower(), filereport)
@@ -98,7 +98,7 @@ def run(operation, filereport, repo, user, group, grant, backupfilepath, repoall
9898
s_repo = item['repo'].strip()
9999
s_grant = item['permission'].strip()
100100
print("set {1} on repo {0}".format(s_repo, s_grant))
101-
#setRepoGroupPermissions(ac, group.lower(), s_repo, s_grant)
101+
setRepoGroupPermissions(ac, group.lower(), s_repo, s_grant)
102102
else:
103103
error("wrong backup file")
104104

0 commit comments

Comments
 (0)