[GRASS-SVN] r61432 - grass/trunk/lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 28 11:53:45 PDT 2014


Author: huhabla
Date: 2014-07-28 11:53:45 -0700 (Mon, 28 Jul 2014)
New Revision: 61432

Modified:
   grass/trunk/lib/python/temporal/c_libraries_interface.py
Log:
temporal: Fixed mapset name doctest

Modified: grass/trunk/lib/python/temporal/c_libraries_interface.py
===================================================================
--- grass/trunk/lib/python/temporal/c_libraries_interface.py	2014-07-28 18:37:47 UTC (rev 61431)
+++ grass/trunk/lib/python/temporal/c_libraries_interface.py	2014-07-28 18:53:45 UTC (rev 61432)
@@ -684,8 +684,8 @@
        # Check mapsets
        >>> ciface = tgis.CLibrariesInterface()
        >>> mapsets = ciface.available_mapsets()
-       >>> print mapsets[0]
-       PERMANENT
+       >>> mapsets[0] == tgis.get_current_mapset()
+       True
        
        # Raster map
        >>> ciface = tgis.CLibrariesInterface()



More information about the grass-commit mailing list