git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53261 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -135,6 +135,8 @@ def GetLayerNameFromCmd(dcmd, fullyQualified = False, param = None,
# need to add mapset for all maps
mapsets = {}
for i, p, v in params:
+ if p == 'layer':
+ continue
mapname = v
mapset = ''
if fullyQualified and '@' not in mapname: