summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2017-10-12 12:31:29 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2017-10-12 12:31:29 +0200
commit83697ea500e316742897635ea97389f8a7a0c694 (patch)
treeee4e770a9f54625947e55920ce8f47d465964010 /astroid/rebuilder.py
parent3592657a129019e1b88532da8efaf12a53835a91 (diff)
downloadastroid-git-83697ea500e316742897635ea97389f8a7a0c694.tar.gz
Fix lint warnings
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index 60a1ad77..e40eb7bb 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -843,6 +843,7 @@ class TreeRebuilder3(TreeRebuilder):
return newnode
elif node.handlers:
return self.visit_tryexcept(node, parent)
+ return None
def visit_annassign(self, node, parent):
"""visit an AnnAssign node by returning a fresh instance of it"""