# HG changeset patch # User Sylvain Thénault # Date 1252945511 -7200 # Node ID 36a2357ccbc4f68865c4f35023fae629bce9ab95 # Parent 07d11bacfefeba2451a4dc2570d3f0978d03c8ad [migration] don't ask confirm here diff -r 07d11bacfefe -r 36a2357ccbc4 server/migractions.py --- a/server/migractions.py Mon Sep 14 18:24:42 2009 +0200 +++ b/server/migractions.py Mon Sep 14 18:25:11 2009 +0200 @@ -415,11 +415,12 @@ espschema = eschema.specializes() if repospschema and not espschema: self.rqlexec('DELETE X specializes Y WHERE X is CWEType, X name %(x)s', - {'x': str(repoeschema)}) + {'x': str(repoeschema)}, ask_confirm=False) elif not repospschema and espschema: self.rqlexec('SET X specializes Y WHERE X is CWEType, X name %(x)s, ' 'Y is CWEType, Y name %(y)s', - {'x': str(repoeschema), 'y': str(espschema)}) + {'x': str(repoeschema), 'y': str(espschema)}, + ask_confirm=False) self.rqlexecall(ss.updateeschema2rql(eschema), ask_confirm=self.verbosity >= 2) for rschema, targettypes, role in eschema.relation_definitions(True):