X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FGetTicket.py;h=e175cfe93d7b5c29e3d460dd660db88391cc07de;hb=0c731bf993eea346421d9dbcd5eaa61484e84018;hp=f9b8c22cc14928b07fd70e51077e5eec7e970ac2;hpb=99e9f96209b9ebfd1853e7b8902a1a0fe893eaa2;p=sfa.git diff --git a/sfa/methods/GetTicket.py b/sfa/methods/GetTicket.py index f9b8c22c..e175cfe9 100644 --- a/sfa/methods/GetTicket.py +++ b/sfa/methods/GetTicket.py @@ -2,7 +2,7 @@ ### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/methods/get_ticket.py $ import time from sfa.util.faults import * -from sfa.util.namespace import urn_to_hrn +from sfa.util.xrn import urn_to_hrn from sfa.util.method import Method from sfa.util.parameter import Parameter, Mixed from sfa.trust.auth import Auth @@ -37,7 +37,7 @@ class GetTicket(Method): Parameter(type([]), "List of user information") ] - returns = Parameter(str, "String represeneation of a ticket object") + returns = Parameter(str, "String representation of a ticket object") def call(self, xrn, creds, rspec, users): hrn, type = urn_to_hrn(xrn) @@ -50,7 +50,7 @@ class GetTicket(Method): manager = self.api.get_interface_manager() - # flter rspec through sfatables + # filter rspec through sfatables if self.api.interface in ['aggregate']: chain_name = 'OUTGOING' elif self.api.interface in ['slicemgr']: