Hi,.

2010/10/18 Glynn Clements <[email protected]>:
>        import shlex
>
>        def split(s):
>            return shlex.split(s, posix = (sys.platform != "win32"))

we need to find less Python specific way. The 'posix' parameter has
been added in Python 2.6 [1]. OSGeo4W uses Python 2.5, so it will not
work.

Martin

[1] http://docs.python.org/library/shlex.html

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to