Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit e6ef3c7

Browse files
committed
fixed style
1 parent 638c8f6 commit e6ef3c7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

proto/message.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@
3737
PROTOBUF_VERSION = google.protobuf.__version__
3838

3939
# extract the major version code
40-
_separator_idx = PROTOBUF_VERSION.find('.')
41-
_PROTOBUF_MAJOR_VERSION = PROTOBUF_VERSION[:_separator_idx] if _separator_idx != -1 else PROTOBUF_VERSION
40+
_separator_idx = PROTOBUF_VERSION.find(".")
41+
_PROTOBUF_MAJOR_VERSION = (
42+
PROTOBUF_VERSION[:_separator_idx] if _separator_idx != -1 else PROTOBUF_VERSION
43+
)
4244

4345
_upb = has_upb() # Important to cache result here.
4446

0 commit comments

Comments
 (0)