git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37543 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -35,8 +35,8 @@
# simple front end to g.gui to be used from within the GUI.
-import grass
import sys
+from grass.script import core as grass
def main():
grass.exec_command("g.gui", flags = 'nu', gui = options['gui'])
@@ -52,8 +52,8 @@
#% answer: boundary to line
#%end
if options['type'] == "point to centroid":
@@ -29,7 +29,7 @@
#% required : yes
if __name__ == "__main__":
options, flags = grass.parser()