Skip to content

Commit

Permalink
Fix stray, lint-breaking blank lines from autosynth. (#5960)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored Sep 12, 2018
1 parent 9e6fbd1 commit 19bd497
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)

9 changes: 1 addition & 8 deletions packages/google-cloud-bigquery-datatransfer/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,8 @@
'nox.py', 'setup.py']
)

# Generator is removing ending line of __init__.py
s.replace(
'google/cloud/__init__.py',
'__path__ = pkgutil.extend_path\(__path__, __name__\)',
'\g<0>\n'
)

s.replace(
['google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py',
['google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2.py',
'google/cloud/bigquery_datatransfer_v1/proto/datatransfer_pb2_grpc.py'],
'from google.cloud.bigquery.datatransfer_v1.proto',
'from google.cloud.bigquery_datatransfer_v1.proto'
Expand Down

0 comments on commit 19bd497

Please sign in to comment.