--- a/appobject.py Mon Aug 17 19:20:15 2009 +0200
+++ b/appobject.py Mon Aug 17 19:20:36 2009 +0200
@@ -313,62 +313,62 @@
return selector
@property
- @deprecated('[3.5] use _cw.vreg')
+ @deprecated('[3.5] use self._cw.vreg')
def vreg(self):
return self._cw.vreg
@property
- @deprecated('[3.5] use _cw.vreg.schema')
+ @deprecated('[3.5] use self._cw.vreg.schema')
def schema(self):
return self._cw.vreg.schema
@property
- @deprecated('[3.5] use _cw.vreg.config')
+ @deprecated('[3.5] use self._cw.vreg.config')
def config(self):
return self._cw.vreg.config
@property
- @deprecated('use self._cw')
+ @deprecated('[3.5] use self._cw')
def req(self):
return self._cw
@property
- @deprecated('use self.cw_rset')
+ @deprecated('[3.5] use self.cw_rset')
def rset(self):
return self.cw_rset
@property
- @deprecated('use self.cw_row')
+ @deprecated('[3.5] use self.cw_row')
def row(self):
return self.cw_row
@property
- @deprecated('use self.cw_col')
+ @deprecated('[3.5] use self.cw_col')
def col(self):
return self.cw_col
@property
- @deprecated('use self.cw_extra_kwargs')
+ @deprecated('[3.5] use self.cw_extra_kwargs')
def extra_kwargs(self):
return self.cw_extra_kwargs
- @deprecated('[3.5] use _cw.view')
+ @deprecated('[3.5] use self._cw.view')
def view(self, *args, **kwargs):
return self._cw.view(*args, **kwargs)
- @deprecated('[3.5] use _cw.varmaker')
+ @deprecated('[3.5] use self._cw.varmaker')
def initialize_varmaker(self):
self.varmaker = self._cw.varmaker
- @deprecated('[3.5] use _cw.get_cache')
+ @deprecated('[3.5] use self._cw.get_cache')
def get_cache(self, cachename):
return self._cw.get_cache(cachename)
- @deprecated('[3.5] use _cw.build_url')
+ @deprecated('[3.5] use self._cw.build_url')
def build_url(self, *args, **kwargs):
return self._cw.build_url(*args, **kwargs)
- @deprecated('[3.5] use rset.limited_rql')
+ @deprecated('[3.5] use self.cw_rset.limited_rql')
def limited_rql(self):
return self.rset.limited_rql()
@@ -380,27 +380,27 @@
def entity(self, row, col=0):
return self.rset.get_entity(row, col)
- @deprecated('[3.5] use _cw.user_rql_callback')
+ @deprecated('[3.5] use self._cw.user_rql_callback')
def user_rql_callback(self, args, msg=None):
return self._cw.user_rql_callback(args, msg)
- @deprecated('[3.5] use _cw.user_callback')
+ @deprecated('[3.5] use self._cw.user_callback')
def user_callback(self, cb, args, msg=None, nonify=False):
return self._cw.user_callback(cb, args, msg, nonify)
- @deprecated('[3.5] use _cw.format_date')
+ @deprecated('[3.5] use self._cw.format_date')
def format_date(self, date, date_format=None, time=False):
return self._cw.format_date(date, date_format, time)
- @deprecated('[3.5] use _cw.format_timoe')
+ @deprecated('[3.5] use self._cw.format_timoe')
def format_time(self, time):
return self._cw.format_time(time)
- @deprecated('[3.5] use _cw.format_float')
+ @deprecated('[3.5] use self._cw.format_float')
def format_float(self, num):
return self._cw.format_float(num)
- @deprecated('[3.5] use _cw.parse_datetime')
+ @deprecated('[3.5] use self._cw.parse_datetime')
def parse_datetime(self, value, etype='Datetime'):
return self._cw.parse_datetime(value, etype)