From e88236fb62cfb0bf9d0ac99f8e2ce710057773a0 Mon Sep 17 00:00:00 2001 From: Tomas Zigo Date: Mon, 24 Oct 2022 21:03:35 +0200 Subject: [PATCH] python/grass/pygrass: do not expose all LOCATION MAPSETs --- python/grass/pygrass/modules/grid/grid.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/grass/pygrass/modules/grid/grid.py b/python/grass/pygrass/modules/grid/grid.py index fe9cb2140b2..73dd8bc0172 100644 --- a/python/grass/pygrass/modules/grid/grid.py +++ b/python/grass/pygrass/modules/grid/grid.py @@ -705,9 +705,6 @@ def run(self, patch=True, clean=True): def patch(self): """Patch the final results.""" bboxes = split_region_tiles(width=self.width, height=self.height) - loc = Location() - mset = loc[self.mset.name] - mset.visible.extend(loc.mapsets()) noutputs = 0 for otmap in self.module.outputs: otm = self.module.outputs[otmap]