Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
myint committed Aug 7, 2016
1 parent 85304da commit b4d5771
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,8 @@ def _get_bases(self):
self._add_back_token(token)

base, next_token = self.get_name()
if (len(base) > 2 and
if (
len(base) > 2 and
base[-2].name == '::' and
next_token.token_type == tokenize.NAME and
next_token.name not in specifier
Expand Down

0 comments on commit b4d5771

Please sign in to comment.