aboutsummaryrefslogtreecommitdiffstats
path: root/bin/yp/srtool_defect.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/yp/srtool_defect.py')
-rwxr-xr-xbin/yp/srtool_defect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/yp/srtool_defect.py b/bin/yp/srtool_defect.py
index 77f8e030..0e189a3a 100755
--- a/bin/yp/srtool_defect.py
+++ b/bin/yp/srtool_defect.py
@@ -219,11 +219,11 @@ def main(argv):
if args.user:
srt_user = args.user
else:
- srt_user = os.environ.get('SRT_USER')
+ srt_user = os.environ.get('SRT_DEFECT_USER')
if args.passwd:
srt_passwd = args.passwd
else:
- srt_passwd = os.environ.get('SRT_PASSWD')
+ srt_passwd = os.environ.get('SRT_DEFECT_PASSWD')
if not srt_user or not srt_passwd:
msg = "FATAL ERROR: Missing user/password for Defect System access"
print(msg)