Skip to content

Commit 153d003

Browse files
committed
Update also place that generates the code
1 parent 4b7b089 commit 153d003

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pubsub/synth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@
127127
"google/cloud/pubsub_v1/gapic/publisher_client.py",
128128
"class PublisherClient",
129129
"""# TODO: remove conditional import after Python 2 support is dropped
130-
if six.PY3:
131-
from collections.abc import Mapping
132-
else:
130+
if six.PY2:
133131
from collections import Mapping
132+
else:
133+
from collections.abc import Mapping
134134
135135
136136
def _merge_dict(d1, d2):

0 commit comments

Comments
 (0)