Minor fix
authorAndy Bavier <acb@cs.princeton.edu>
Mon, 8 Feb 2010 22:07:26 +0000 (22:07 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Mon, 8 Feb 2010 22:07:26 +0000 (22:07 +0000)
sfa/plc/network.py

index 73745f6..7974e3a 100644 (file)
@@ -347,6 +347,9 @@ class Network:
         return tags
     
     def __process_attributes(self, element, node=None):
+        if element is None:
+            return 
+
         # Do we need to check caller's role before update???
         tagtypes = self.getTagTypes()
         for tt in tagtypes: