Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/model/report.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2014-01-30 14:08:03 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2014-01-30 14:08:03 (GMT)
commit2ca3e5f20ec1ad1c122a098abb174dc737df7c32 (patch)
treee02a87ce28f1be8698cd78e6f8becbda963ec633 /sugar_network/model/report.py
parentfc17a971c24b8b1084a47f33ea642bf5c287aef3 (diff)
Rename Implementation resource to Release
Diffstat (limited to 'sugar_network/model/report.py')
-rw-r--r--sugar_network/model/report.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/sugar_network/model/report.py b/sugar_network/model/report.py
index 8b2ca05..84db43a 100644
--- a/sugar_network/model/report.py
+++ b/sugar_network/model/report.py
@@ -24,13 +24,13 @@ class Report(db.Resource):
return value
@db.indexed_property(prefix='V', default='', acl=ACL.CREATE | ACL.READ)
- def implementation(self, value):
+ def release(self, value):
return value
- @implementation.setter
- def implementation(self, value):
- if value and 'version' not in self.props and 'implementation' in value:
- version = self.volume['implementation'].get(value)
+ @release.setter
+ def release(self, value):
+ if value and 'version' not in self.props and 'release' in value:
+ version = self.volume['release'].get(value)
self['version'] = version['version']
return value