Skip to content

Commit

Permalink
Update also place that generates the code
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jan 9, 2020
1 parent 4b7b089 commit 153d003
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pubsub/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@
"google/cloud/pubsub_v1/gapic/publisher_client.py",
"class PublisherClient",
"""# TODO: remove conditional import after Python 2 support is dropped
if six.PY3:
from collections.abc import Mapping
else:
if six.PY2:
from collections import Mapping
else:
from collections.abc import Mapping
def _merge_dict(d1, d2):
Expand Down

0 comments on commit 153d003

Please sign in to comment.