update to cw 3.14 api. Closes #2063529 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Nov 2011 18:04:25 +0100
branchstable
changeset 791 5ac76ce656dd
parent 790 13eaea0b03ef
child 792 f5af3ae56715
update to cw 3.14 api. Closes #2063529
__pkginfo__.py
debian/control
entities.py
--- a/__pkginfo__.py	Wed Nov 09 18:01:49 2011 +0100
+++ b/__pkginfo__.py	Wed Nov 09 18:04:25 2011 +0100
@@ -20,7 +20,7 @@
     ]
 
 __depends__ = {'pyro': None,
-               'cubicweb': '>= 3.10.0',
+               'cubicweb': '>= 3.14.0',
                'cubicweb-vcsfile': '>= 1.6.1',
                'cubicweb-file': None,
                'cubicweb-narval': '>= 3.0.2',
--- a/debian/control	Wed Nov 09 18:01:49 2011 +0100
+++ b/debian/control	Wed Nov 09 18:04:25 2011 +0100
@@ -13,7 +13,7 @@
 Package: cubicweb-apycot
 Architecture: all
 XB-Python-Version: ${python:Versions}
-Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (>= 3.10.0), cubicweb-vcsfile (>= 1.6.1), cubicweb-file (>= 1.8.2), cubicweb-narval (>= 3.0.2), pyro
+Depends: ${misc:Depends}, ${python:Depends}, cubicweb-common (>= 3.14.0), cubicweb-vcsfile (>= 1.6.1), cubicweb-file (>= 1.8.2), cubicweb-narval (>= 3.0.2), pyro
 Suggests: cubicweb-tracker, cubicweb-nosylist (>= 0.5.0)
 Description: apycot component for the CubicWeb framework
  This CubicWeb component store data from the Apycot testing framework
--- a/entities.py	Wed Nov 09 18:01:49 2011 +0100
+++ b/entities.py	Wed Nov 09 18:04:25 2011 +0100
@@ -108,7 +108,7 @@
 class ProjectEnvironment(RefinementMixIn, ExecutionRSSMixin, AnyEntity):
     __regid__ = 'ProjectEnvironment'
 
-    fetch_attrs, fetch_order = fetch_config(['name', 'check_config', 'check_environment'])
+    fetch_attrs, cw_fetch_order = fetch_config(['name', 'check_config', 'check_environment'])
 
     # rss related methods #####################################################
 
@@ -194,7 +194,7 @@
 class TestConfig(RefinementMixIn, ExecutionRSSMixin, AnyEntity):
     __regid__ = 'TestConfig'
 
-    fetch_attrs, fetch_order = fetch_config(['name', 'label', 'check_config',
+    fetch_attrs, cw_fetch_order = fetch_config(['name', 'label', 'check_config',
                                              'check_environment'])
 
     def dc_title(self):
@@ -427,7 +427,7 @@
 
 class CheckResult(AnyEntity):
     __regid__ = 'CheckResult'
-    fetch_attrs, fetch_order = fetch_config(['starttime', 'endtime',
+    fetch_attrs, cw_fetch_order = fetch_config(['starttime', 'endtime',
                                              'name', 'status'])
 
     def absolute_url(self, *args, **kwargs):
@@ -441,7 +441,7 @@
 
 class CheckResultInfo(AnyEntity):
     __regid__ = 'CheckResultInfo'
-    fetch_attrs, fetch_order = fetch_config(['type', 'label', 'value'])
+    fetch_attrs, cw_fetch_order = fetch_config(['type', 'label', 'value'])
 
     @property
     def check_result(self):