Index: src/plugins/grass/scripts/qgis.v.out.ogr.pg.py =================================================================== --- src/plugins/grass/scripts/qgis.v.out.ogr.pg.py (revision 10934) +++ src/plugins/grass/scripts/qgis.v.out.ogr.pg.py (working copy) @@ -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'] Index: src/plugins/grass/scripts/qgis.db.connect-login.pg.py =================================================================== --- src/plugins/grass/scripts/qgis.db.connect-login.pg.py (revision 10934) +++ src/plugins/grass/scripts/qgis.db.connect-login.pg.py (working copy) @@ -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']