Skip to content

Commit

Permalink
remove the extraneous print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Timm committed May 20, 2024
1 parent 5348d0e commit 7b03ecc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/decisionengine_modules/NERSC/sources/NerscSFApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def check_accesstoken(self, nersc_user):
except KeyError:
self.logger.error(f"Unknown user '{nersc_user}', exiting")
return None
print(nersc_user)
rawfile = params_dict["rawfile"]
pemfile = params_dict["private_key"]
clientidfile = params_dict["client_id_file"]
Expand All @@ -83,7 +82,6 @@ def check_accesstoken(self, nersc_user):
rvalue = jwt.decode(atoken, options={"verify_signature": False})
ctime = int(time.time())
diff = ctime - rvalue['exp']
print( diff )
else:
self.logger.debug("there is no access token file, setting diff high to indicate expired")
diff=10000000
Expand Down Expand Up @@ -126,13 +124,10 @@ def requests_nersc(self, username):

def send_query(self):
results = []
print(self.constraints.get("usernames", []))
for username in self.constraints.get("usernames", []):
self.logger.debug("in send_query %s",username)
print(username)
returned_list = self.requests_nersc(username)
self.logger.debug(returned_list)
print(returned_list)
for each_dict in returned_list:
# HK> This if condition will choose only m3249 for fife and discard m3990
if each_dict["repo_name"] == self.localmap[username]:
Expand Down

0 comments on commit 7b03ecc

Please sign in to comment.