Merge branch 'upstreammaster'
[sfa.git] / sfa / methods / DeleteSliver.py
index 741bbd7..f766cb1 100644 (file)
@@ -1,4 +1,3 @@
-from sfa.util.faults import *
 from sfa.util.xrn import urn_to_hrn
 from sfa.util.method import Method
 from sfa.util.parameter import Parameter, Mixed
@@ -26,7 +25,7 @@ class DeleteSliver(Method):
     returns = Parameter(int, "1 if successful")
     
     def call(self, xrn, creds, call_id=""):
-        hrn, type = urn_to_hrn(xrn)
+        (hrn, type) = urn_to_hrn(xrn)
         valid_creds = self.api.auth.checkCredentials(creds, 'deletesliver', hrn)
 
         #log the call