← Back to team overview

mlhim-specs-dev team mailing list archive

[Branch ~cdd-dev/cdd/trunk] Rev 311: Minor correction in container method

 

------------------------------------------------------------
revno: 311
committer: Eduardo Ribeiro <xcesar@xxxxxxxxx>
branch nick: devel
timestamp: Fri 2013-02-01 17:45:27 -0200
message:
  Minor correction in container method
modified:
  src/2.0/container.py


--
lp:cdd
https://code.launchpad.net/~cdd-dev/cdd/trunk

Your team MLHIM Specifications Developers is subscribed to branch lp:cdd.
To unsubscribe from this branch go to https://code.launchpad.net/~cdd-dev/cdd/trunk/+edit-subscription
=== modified file 'src/2.0/container.py'
--- src/2.0/container.py	2013-02-01 19:30:12 +0000
+++ src/2.0/container.py	2013-02-01 19:45:27 +0000
@@ -51,8 +51,8 @@
     def save_structure(self, fd):
         pickle.dump(self.structure, fd)
 
-    @classmethod
-    def load_structure(cls, fd):
+    @staticmethod
+    def load_structure(fd):
         return pickle.load(fd)
     
     def set_metadata(self, md):