Update of /cvsroot/monetdb/sql/src/test/Views/Tests
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31846/src/test/Views/Tests

Modified Files:
        Views.SQL.py 
Log Message:
propagated changes of Monday Oct 22 2007 - Monday Oct 22 2007
from the SQL_2-20 branch to the development trunk


Index: Views.SQL.py
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Views/Tests/Views.SQL.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Views.SQL.py        15 Oct 2007 15:29:56 -0000      1.3
+++ Views.SQL.py        22 Oct 2007 12:25:14 -0000      1.4
@@ -7,19 +7,19 @@
 
 
 def client(cmd):
-       clt = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, 
stderr=subprocess.PIPE)
-       sys.stdout.write(clt.stdout.read())
-       clt.stdout.close()
-       sys.stderr.write(clt.stderr.read())
-       clt.stderr.close()
-       
+    clt = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, 
stderr=subprocess.PIPE)
+    sys.stdout.write(clt.stdout.read())
+    clt.stdout.close()
+    sys.stderr.write(clt.stderr.read())
+    clt.stderr.close()
+
 
 def main():
-       clcmd = str(os.getenv('SQL_CLIENT')) + "< %s" % 
('%s/../views_restrictions.sql' % os.getenv('RELSRCDIR'))
-       sys.stdout.write('Views Restrictions\n')
-       client(clcmd)
-       sys.stdout.write('step 1\n')
-       sys.stdout.write('Cleanup\n')
-       sys.stdout.write('step2\n')
+    clcmd = str(os.getenv('SQL_CLIENT')) + "< %s" % 
('%s/../views_restrictions.sql' % os.getenv('RELSRCDIR'))
+    sys.stdout.write('Views Restrictions\n')
+    client(clcmd)
+    sys.stdout.write('step 1\n')
+    sys.stdout.write('Cleanup\n')
+    sys.stdout.write('step2\n')
 
 main()


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to