get no need to pass namespaces into PGv2Link methods
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 25 Oct 2011 15:42:02 +0000 (11:42 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 25 Oct 2011 15:42:02 +0000 (11:42 -0400)
sfa/rspecs/versions/pgv2.py

index 3e995ad..a332286 100644 (file)
@@ -93,11 +93,11 @@ class PGv2(BaseVersion):
         return slice_attributes
 
     def get_links(self, network=None):
-        links = PGv2Link.get_links(self.xml.root, self.namespaces)
+        links = PGv2Link.get_links(self.xml)
         return links
 
     def add_links(self, links):
-        PGv2Link.add_links(self.xml.root, links)
+        PGv2Link.add_links(self.xml, links)
 
     def attributes_list(self, elem):
         opts = []