From 870a84fa792b625ab12cb0fe843df8cd5b332b7e Mon Sep 17 00:00:00 2001 From: Mostafejur Rahman Date: Mon, 21 Nov 2022 16:57:59 +0600 Subject: [PATCH] docs: fix duplicate print function remove from init() method (#3034) In init() method there was duplicate print function like `print "GitHub: Initialized successfully"`. --- .../GithubExternalAuthenticator.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/script-catalog/person_authentication/github-external-authenticator/GithubExternalAuthenticator.py b/docs/script-catalog/person_authentication/github-external-authenticator/GithubExternalAuthenticator.py index 9e0f259e585..e0187f78afa 100644 --- a/docs/script-catalog/person_authentication/github-external-authenticator/GithubExternalAuthenticator.py +++ b/docs/script-catalog/person_authentication/github-external-authenticator/GithubExternalAuthenticator.py @@ -31,7 +31,6 @@ def __init__(self, currentTimeMillis): def init(self, customScript, configurationAttributes): print "GitHub. Initialization" - print "GitHub. Initialized successfully" # read config from github_creds_file github_creds_file = configurationAttributes.get("github_creds_file").getValue2() @@ -252,4 +251,4 @@ def getUserInfo(self, accessToken): return userinfoResponse except Exception as e: print e - return None \ No newline at end of file + return None