# HG changeset patch # User Sylvain Thénault # Date 1346734361 -7200 # Node ID 2bceea9dee95ef06e6e4bce71efd538e0fefb7c6 # Parent 1daea1f433c9e32be27cee4aada9c16c018b91ba [migration] fix backward compat for rename_relation diff -r 1daea1f433c9 -r 2bceea9dee95 server/migractions.py --- a/server/migractions.py Tue Sep 04 06:09:17 2012 +0200 +++ b/server/migractions.py Tue Sep 04 06:52:41 2012 +0200 @@ -1526,9 +1526,9 @@ def cmd_reactivate_verification_hooks(self): self.session.enable_hook_categories('integrity') - @deprecated("[3.15] use session.rename_relation_type(oldname, newname)") + @deprecated("[3.15] use rename_relation_type(oldname, newname)") def cmd_rename_relation(self, oldname, newname, commit=True): - self.session.rename_relation_type(oldname, newname, commit) + self.cmd_rename_relation_type(oldname, newname, commit) class ForRqlIterator: