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 committed Jun 16, 2009
1 parent e79c0e4 commit 0cf4ee3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
@@ -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.