Skip to content
Permalink
Browse files

reorganized grass python interface, patch by cgsbob

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10936 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek
rblazek committed Jun 16, 2009
1 parent e79c0e4 commit 0cf4ee32b4631b654a6d432129106cb3a7c51b0d
@@ -73,9 +73,11 @@
import os
import string
try:
from grass.script import core as grass
except ImportError:
import grass
except:
raise Exception ("Cannot find 'grass' Python module. Python is supported by GRASS from version 6.4" )
raise Exception ("Cannot find 'grass' Python module. Python is supported by GRASS from version >= 6.4" )

def main():
host = options['host']
@@ -107,9 +107,11 @@
import os
import string
try:
from grass.script import core as grass
except ImportError:
import grass
except:
raise Exception ("Cannot find 'grass' Python module. Python is supported by GRASS from version 6.4" )
raise Exception ("Cannot find 'grass' Python module. Python is supported by GRASS from version >= 6.4" )

def main():
input = options['input']

0 comments on commit 0cf4ee3

Please sign in to comment.
You can’t perform that action at this time.