huge cleanup for removing mutables used as default
[sfa.git] / sfa / rspecs / versions / ofeliav1.py
index cd206ff..d074694 100755 (executable)
@@ -86,7 +86,8 @@ class Ofelia(RSpecVersion):
 
     # Slivers
    
-    def add_slivers(self, hostnames, attributes=[], sliver_urn=None, append=False):
+    def add_slivers(self, hostnames, attributes=None, sliver_urn=None, append=False):
+        if attributes is None: attributes=[]
         # add slice name to network tag
         network_tags = self.xml.xpath('//network')
         if network_tags: