1
0
forked from VimPlug/jedi

Remove a statement that didn't make sense

This commit is contained in:
Dave Halter
2020-01-07 22:20:36 +01:00
parent a0536bd854
commit 10c5990614
2 changed files with 9 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ class AbstractTreeName(AbstractNameDefinition):
def get_defining_qualified_value(self):
if self.is_import():
raise 1
raise NotImplementedError("Shouldn't really happen, please report")
elif self.parent_context:
return self.parent_context.get_value() # Might be None
return None