Skip to content

Commit

Permalink
change import alias from grass to gscript
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzeslaus committed Jan 27, 2016
1 parent 13a8de3 commit 343f84f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions codetabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ NEUTRAL_LANG_SELECTOR = '.' + 'neutral'
NEUTRAL_LANG_LABEL = 'Standard'

// including . to support also no prefix
// for import grass.script as gscript use "gscript"
// for from grass.script import run_command use ""
GRASS_SCRIPT_PREFIX = "grass."
// for import grass.script as gscript, use "gscript"
// for from grass.script import run_command, use ""
// for import grass.script as grass, use "grass"
GRASS_SCRIPT_PREFIX = "gscript."

// full name of the function to call grass command (without "(")
//GRASS_RUN_COMMAND = GRASS_SCRIPT_PREFIX + "run_command"
Expand Down

0 comments on commit 343f84f

Please sign in to comment.