Fix recent CI bug

This commit is contained in:
rocky
2020-02-06 05:09:17 -05:00
parent e93628d2dd
commit 73e6409594
2 changed files with 5 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ jobs:
# https://circleci.com/docs/2.0/circleci-images/ # https://circleci.com/docs/2.0/circleci-images/
machine: machine:
python: python:
version: 3.6.10 version: 3.6.9
steps: steps:
# Machine Setup # Machine Setup
# If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each # If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each

View File

@@ -2297,6 +2297,7 @@ class SourceWalker(GenericASTTraversal, object):
pass pass
have_qualname = False have_qualname = False
if len(ast[0]):
if ast[0] == "sstmt": if ast[0] == "sstmt":
ast[0] = ast[0][0] ast[0] = ast[0][0]
first_stmt = ast[0] first_stmt = ast[0]