equal
deleted
inserted
replaced
179 content_type = 'text/plain' |
179 content_type = 'text/plain' |
180 templatable = False |
180 templatable = False |
181 __select__ = none_rset() & match_user_groups('users', 'managers') |
181 __select__ = none_rset() & match_user_groups('users', 'managers') |
182 |
182 |
183 def call(self): |
183 def call(self): |
184 stats = self._cw.vreg.config.repository(None).stats() |
184 stats = self._cw.call_service('repo_stats') |
185 results = [] |
185 results = [] |
186 for element in stats: |
186 for element in stats: |
187 results.append(u'%s %s' % (element, stats[element])) |
187 results.append(u'%s %s' % (element, stats[element])) |
188 self.w(u'\n'.join(results)) |
188 self.w(u'\n'.join(results)) |