Skip to content

Commit 17fc95e

Browse files
committed
use local user var here (SOFTWARE-4751)
not really needed in global options
1 parent c290712 commit 17fc95e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osg-comanage-project-usermap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def parse_options(args):
152152
if op == '-f': passfile = arg
153153
if op == '-e': options.endpoint = arg
154154

155-
options.user, passwd = getpw(options.user, passfd, passfile)
156-
options.authstr = mkauthstr(options.user, passwd)
155+
user, passwd = getpw(options.user, passfd, passfile)
156+
options.authstr = mkauthstr(user, passwd)
157157

158158

159159
def gid_pids_to_osguser_pid_gids(gid_pids, pid_osguser):

0 commit comments

Comments
 (0)