Changeset: d314d59abf11 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d314d59abf11 Added Files: clients/examples/python/mclient-python2.py.in clients/examples/python/mclient-python3.py.in Removed Files: clients/python2/examples/mclient.py clients/python3/examples/mclient.py Branch: Oct2012 Log Message:
mclient.py: move to generic examples using shebang reflecting python version diffs (31 lines): diff --git a/clients/python2/examples/mclient.py b/clients/examples/python/mclient-python2.py.in rename from clients/python2/examples/mclient.py rename to clients/examples/python/mclient-python2.py.in --- a/clients/python2/examples/mclient.py +++ b/clients/examples/python/mclient-python2.py.in @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!@PYTHON2@ # The contents of this file are subject to the MonetDB Public License # Version 1.1 (the "License"); you may not use this file except in @@ -17,8 +17,6 @@ # Copyright August 2008-2012 MonetDB B.V. # All Rights Reserved. -# - import sys import getopt diff --git a/clients/python3/examples/mclient.py b/clients/examples/python/mclient-python3.py.in rename from clients/python3/examples/mclient.py rename to clients/examples/python/mclient-python3.py.in --- a/clients/python3/examples/mclient.py +++ b/clients/examples/python/mclient-python3.py.in @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!@PYTHON3@ # The contents of this file are subject to the MonetDB Public License # Version 1.1 (the "License"); you may not use this file except in _______________________________________________ checkin-list mailing list checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list