diff options
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]), |
