consider U when computing main variables stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 12 Nov 2009 12:08:30 +0100
branchstable
changeset 3824 860da9755df3
parent 3823 94aa250cff9b
child 3825 b54c8d664dd6
consider U when computing main variables
schema.py
--- a/schema.py	Thu Nov 12 12:07:59 2009 +0100
+++ b/schema.py	Thu Nov 12 12:08:30 2009 +0100
@@ -806,6 +806,8 @@
                 mainvars.append('S')
             if 'O' in defined:
                 mainvars.append('O')
+            if 'U' in defined:
+                mainvars.append('U')
             if not mainvars:
                 raise Exception('unable to guess selection variables')
             mainvars = ','.join(mainvars)