typo
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 15 Dec 2009 16:38:40 +0000 (16:38 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 15 Dec 2009 16:38:40 +0000 (16:38 +0000)
sfa/methods/get_ticket.py

index 188029d..a46e346 100644 (file)
@@ -72,7 +72,7 @@ class get_ticket(Method):
         # remove nodes that are not available at this interface from the rspec
         valid_rspec = RSpec(xml=manager.get_rspec(self.api))
         valid_nodes = valid_rspec.getDictsByTagName('NodeSpec')
-        vaild_hostnames = [node['name'] for node in valid_nodes]
+        valid_hostnames = [node['name'] for node in valid_nodes]
         rspec_object = RSpec(xml=rspec)
         rspec_object.filter(tagname='NodeSpec', attribute='name', whitelist=valid_hostnames)
         rspec = rspec_object.toxml()