we return the rspec object, otherwise the subsequent rspec.filter fails
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 12 Jan 2010 18:03:28 +0000 (18:03 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Tue, 12 Jan 2010 18:03:28 +0000 (18:03 +0000)
sfa/plc/nodes.py

index fae8132..75e2e22 100644 (file)
@@ -259,5 +259,5 @@ class Nodes(SimpleStorage):
         # convert the rspec dict to xml
         rspec = RSpec()
         rspec.parseDict(resourceDict)
-        return rspec.toxml()
+        return rspec