Skip to content

Commit

Permalink
fixed syntax typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jankovicgd committed Mar 6, 2023
1 parent 03fc589 commit 20f33cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eoxserver/services/auth/charonpdp.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,11 @@ def _getPartAction(self, action):
# Get XML snippet for the Environment part of the XACMLAuthzDecisionQuery
def _getPartEnvironment(self):
now = datetime.datetime.now()
formattedNow = now.strftime("%Y-%m-%dT%H:%M:%S.%f%z")urlparse
formattedNow = now.strftime("%Y-%m-%dT%H:%M:%S.%f%z")

return template_attribute.format(attrib_current_date, \
dt_date, \
formattedNow)
# Get the full XACMLAuthzDecisionQuery
def _getFullRequest(self, userAttributes, resourceAttributes, action):
return template_request.format(self._getPartSubject(userAttributes), \
Expand Down

0 comments on commit 20f33cf

Please sign in to comment.