remove svn keywords one last time and for good (hopefully)
[sfa.git] / sfa / methods / GetTicket.py
index f9b8c22..3a250d5 100644 (file)
@@ -1,8 +1,6 @@
-### $Id: get_ticket.py 17732 2010-04-19 21:10:45Z tmack $
-### $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 +35,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 +48,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']: