Skip to content

Commit 1bd0f99

Browse files
remote/client: drop error check already done by argparser
Signed-off-by: Bastian Krause <[email protected]>
1 parent 9ad28c3 commit 1bd0f99

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

labgrid/remote/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,6 @@ async def add_named_match(self):
646646
raise UserError(f"invalid pattern format '{pattern}' (use 'exporter/group/cls/name')")
647647
if "*" in pattern:
648648
raise UserError(f"invalid pattern '{pattern}' ('*' not allowed for named matches)")
649-
if not name:
650-
raise UserError(f"invalid name '{name}'")
651649

652650
request = labgrid_coordinator_pb2.AddPlaceMatchRequest(placename=place.name, pattern=pattern, rename=name)
653651

0 commit comments

Comments
 (0)