Skip to content

Commit

Permalink
Change member future check to fix issue 272
Browse files Browse the repository at this point in the history
bb58f26 by bradleydamato <bradleydamato@gmail.com>
ebc446f by bradleydamato <bradleydamato@gmail.com>
98b131f by bradleydamato <bradleydamato@gmail.com>

COPYBARA_INTEGRATE_REVIEW=#290 from bradleydamato:Issue272Fix 98b131f
PiperOrigin-RevId: 335063289
Change-Id: I1715092509aad11b0bbb681b76a1db7ab48e9a78
  • Loading branch information
bradleydamato authored and dbieber committed Oct 2, 2020
1 parent b5d6341 commit c378906
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fire/completion.py
Expand Up @@ -308,7 +308,9 @@ def MemberVisible(component, name, member, class_attrs=None, verbose=False):
return False
if verbose:
return True
if member in (absolute_import, division, print_function):
if (member is absolute_import
or member is division
or member is print_function):
return False
if isinstance(member, type(absolute_import)) and six.PY34:
return False
Expand Down

0 comments on commit c378906

Please sign in to comment.