[repo] fix deprecation messages for stats and gc_stats
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 09 Apr 2014 14:05:54 +0200
changeset 9683 74359402bfb0
parent 9682 fcb672023553
child 9684 a6b084ea4c5b
[repo] fix deprecation messages for stats and gc_stats
server/repository.py
--- a/server/repository.py	Thu Apr 10 17:31:50 2014 +0200
+++ b/server/repository.py	Wed Apr 09 14:05:54 2014 +0200
@@ -499,7 +499,7 @@
 
     # public (dbapi) interface ################################################
 
-    @deprecated("[3.19] use _cw.call_service('repo_stats'")
+    @deprecated("[3.19] use _cw.call_service('repo_stats')")
     def stats(self): # XXX restrict to managers session?
         """Return a dictionary containing some statistics about the repository
         resources usage.
@@ -511,7 +511,7 @@
         with self.internal_cnx() as cnx:
             return cnx.call_service('repo_stats')
 
-    @deprecated("[3.19] use _cw.call_service('repo_gc_stats'")
+    @deprecated("[3.19] use _cw.call_service('repo_gc_stats')")
     def gc_stats(self, nmax=20):
         """Return a dictionary containing some statistics about the repository
         memory usage.