Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
try if grass module can be imported
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10817 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 18, 2009
1 parent 75bd975 commit 5e15a9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/grass/scripts/qgis.db.connect-login.pg.py
Expand Up @@ -72,7 +72,10 @@
import sys
import os
import string
import grass
try:
import grass
except:
raise Exception ("Cannot find 'grass' Python module. Python is supported by GRASS from version 6.4" )

def main():
host = options['host']
Expand Down

0 comments on commit 5e15a9f

Please sign in to comment.