diff -r c4a70a5dd144 -r 42079f752a9c server/sources/native.py --- a/server/sources/native.py Tue Sep 14 08:48:44 2010 +0200 +++ b/server/sources/native.py Thu Sep 16 18:56:35 2010 +0200 @@ -677,6 +677,11 @@ etype = elements[0] rtypes = elements[1:] raise UniqueTogetherError(etype, rtypes) + mo = re.search('columns (.*) are not unique', arg) + if mo is not None: # sqlite in use + rtypes = [c.strip().lstrip('cw_') for c in mo.group(1).split(',')] + etype = '???' + raise UniqueTogetherError(etype, rtypes) raise return cursor