Skip to content

Commit 80dbf3a

Browse files
ChsudeeptaChsudeepta
authored andcommitted
Changed the error message
1 parent 391600c commit 80dbf3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/genie_python/genie_waitfor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ def start_waiting(
357357

358358
if block is not None:
359359
if not isinstance(block, str):
360-
raise TypeError("First argument must be a valid block name or None, not {}".format(block))
360+
raise TypeError("First argument must be a valid block name or None, not {}"
361+
.format(block))
361362

362363
if not self.api.block_exists(block):
363364
raise NameError('No block with the name "{}" exists'.format(block))

0 commit comments

Comments
 (0)