Exemplo n.º 1
0
 def get_expiration_date(self,slice_hrn, creds):
 	for cred in creds:
         	credential = Credential(string=cred)
             	if credential.get_gid_caller().get_hrn() == slice_hrn:
                 	return credential.get_expiration()
         return None