From f587945d567f05ea2e49b224653d0bdf8825a02e Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Tue, 15 Nov 2011 14:40:47 +0100
Subject: [PATCH] cosmetic

---
 sfa/rspecs/elements/element.py            | 1 +
 sfa/rspecs/elements/versions/sfav1Node.py | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sfa/rspecs/elements/element.py b/sfa/rspecs/elements/element.py
index a841323c..6f15d601 100644
--- a/sfa/rspecs/elements/element.py
+++ b/sfa/rspecs/elements/element.py
@@ -34,6 +34,7 @@ class Element(dict):
                     if field in elem.attrib:
                         obj[field] = elem.attrib[field]    
             objs.append(obj)
+# xxx seems unused
         generic_elems = [element_class(elem.attrib, elem) for elem in elems]
         return objs
 
diff --git a/sfa/rspecs/elements/versions/sfav1Node.py b/sfa/rspecs/elements/versions/sfav1Node.py
index c2f1907a..838ae124 100644
--- a/sfa/rspecs/elements/versions/sfav1Node.py
+++ b/sfa/rspecs/elements/versions/sfav1Node.py
@@ -50,8 +50,10 @@ class SFAv1Node:
             if 'authority_id' in node and node['authority_id']:
                 node_elem.set('site_id', node['authority_id'])
 
-            location_elems = Element.add_elements(node_elem, 'location', node.get('location', []), Location.fields)
-            interface_elems = Element.add_elements(node_elem, 'interface', node.get('interfaces', []), Interface.fields)
+            location_elems = Element.add_elements(node_elem, 'location',
+                                                  node.get('location', []), Location.fields)
+            interface_elems = Element.add_elements(node_elem, 'interface', 
+                                                   node.get('interfaces', []), Interface.fields)
             
             #if 'bw_unallocated' in node and node['bw_unallocated']:
             #    bw_unallocated = etree.SubElement(node_elem, 'bw_unallocated', units='kbps').text = str(int(node['bw_unallocated'])/1000)
-- 
2.47.0