diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-08-08 18:57:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-08 18:57:23 +0200 |
| commit | a26d0560da8a6f6d2e66388a65d952dc83f3e3bc (patch) | |
| tree | e98565ef21b336fe0c9f2a46811850dc2c40f959 /lib/commands.py | |
| parent | 178a8e821e7c6e965aab6694587302ffa2a95fa7 (diff) | |
ignore commands with "empty-d-connectors" (#2436)
Diffstat (limited to 'lib/commands.py')
| -rw-r--r-- | lib/commands.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/commands.py b/lib/commands.py index d93954ec..8c43aed3 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -124,6 +124,8 @@ class Command(BaseCommand): def parse_command(self): path = self.parse_connector_path() + if len(path) == 0: + raise CommandParseError("connector has no path information") neighbors = [ (self.get_node_by_url(self.connector.get(CONNECTION_START)), path[0][0][1]), |
