# HG changeset patch # User Sylvain Thénault # Date 1440493762 -7200 # Node ID 2cd8933fd875584dada82ff754f78f2fe73cc4a2 # Parent 0c492a2720f1775f36d934d2c6def30c70d0d0d4 [server/migractions] raising SystemExit sounds like a bad idea Simply skip the action (rename_relation_type) with an early return. diff -r 0c492a2720f1 -r 2cd8933fd875 server/migractions.py --- a/server/migractions.py Fri Jul 31 15:17:43 2015 +0200 +++ b/server/migractions.py Tue Aug 25 11:09:22 2015 +0200 @@ -1080,7 +1080,7 @@ if not self.confirm('Relation %s is still present in the filesystem schema,' ' do you really want to drop it?' % oldname, default='n'): - raise SystemExit(1) + return self.cmd_add_relation_type(newname, commit=True) self.rqlexec('SET X %s Y WHERE X %s Y' % (newname, oldname), ask_confirm=self.verbosity>=2)