diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2016-12-18 13:32:19 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-12-18 13:32:19 +0200 |
commit | 1fd67174a0769c467108236362ba53d98753a06c (patch) | |
tree | 2b91e62e455a3b55d2b27720a075e0e12a563445 /astroid/context.py | |
parent | 49c9dcfd103fdf28b37f686a14be755ed1ff1058 (diff) | |
download | astroid-git-1fd67174a0769c467108236362ba53d98753a06c.tar.gz |
Remove occurrences of no-else-return and consider-using-ternary
Diffstat (limited to 'astroid/context.py')
-rw-r--r-- | astroid/context.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/context.py b/astroid/context.py index f693d406..627bae5d 100644 --- a/astroid/context.py +++ b/astroid/context.py @@ -74,5 +74,5 @@ class CallContext(object): def copy_context(context): if context is not None: return context.clone() - else: - return InferenceContext() + + return InferenceContext() |