Ali Afshar avatar Ali Afshar committed 22144e6

Reverted property.setter syntax to remain 2.5 compatible

Comments (0)

Files changed (1)

         """
         return self.fluid.namespaces[self.path]
 
-    @property
-    def description(self):
+    def _get_description(self):
         """The description of this Namespace.
 
         Setting and getting the value attempts to set/get the description in the FluidDB.
         r = self.api.get(returnDescription=True)
         return r.value[u'description']
 
-    @description.setter
-    def description(self, description):
+    def _set_description(self, description):
         """Set the description for this Namespace.
         """
         return self.api.put(description)
 
+    # python2.5
+    description = property(_get_description, _set_description,
+                           doc=_get_description.__doc__)
+
     @property
     def tag_names(self):
         """The names of the Tags in this Namespace.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.