1234567891011121314151617 |
- # -*- coding: utf-8 -*-
- """Utilities related to GRASS GIS for GRASS Python testing framework
- Copyright (C) 2014 by the GRASS Development Team
- This program is free software under the GNU General Public
- License (>=v2). Read the file COPYING that comes with GRASS GIS
- for details.
- :authors: Vaclav Petras
- """
- from .gmodules import call_module
- def get_current_mapset():
- """Get curret mapset name as a string"""
- return call_module('g.mapset', flags='p').strip()
|