Upstream andialbrecht/sqlparse state of the touched files before f47b549867
This commit is contained in:
1 parent
f0a09a4a1b
commit
40155f3cf6
4 files changed
+9
-58
No files matched your search
+1
-3
@@ -387,9 +387,7 @@ class TokenList(Token):
|
||||
A parent object is identified by the first occurring dot.
|
||||
"""
|
||||
dot_idx, _ = self.token_next_by(m=(T.Punctuation, '.'))
|
||||
# skip_cm so a comment between the parent name and the dot (issue712)
|
||||
# does not get mistaken for the parent name.
|
||||
_, prev_ = self.token_prev(dot_idx, skip_cm=True)
|
||||
_, prev_ = self.token_prev(dot_idx)
|
||||
return remove_quotes(prev_.value) if prev_ is not None else None
|
||||
|
||||
def _get_first_name(self, idx=None, reverse=False, keywords=False,
|
||||
|
||||
Reference in new issue
Block a user