server/sources/native.py
changeset 6333 e3994fcc21c3
parent 6279 42079f752a9c
parent 6297 23c1e50ff97b
child 6366 1806148d6ce8
--- a/server/sources/native.py	Tue Sep 21 16:35:37 2010 +0200
+++ b/server/sources/native.py	Thu Sep 23 23:28:58 2010 +0200
@@ -675,7 +675,7 @@
                         index_name = mo.group(0)
                         elements = index_name.rstrip('_idx').split('_cw_')[1:]
                         etype = elements[0]
-                        rtypes = elements[1:]                        
+                        rtypes = elements[1:]
                         raise UniqueTogetherError(etype, rtypes)
                     mo = re.search('columns (.*) are not unique', arg)
                     if mo is not None: # sqlite in use
@@ -867,7 +867,6 @@
             cnx.commit()
             return eid
 
-
     def add_info(self, session, entity, source, extid, complete):
         """add type and source info for an eid into the system table"""
         # begin by inserting eid/type/source/extid into the entities table