Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
cd141089
Commit
cd141089
authored
May 08, 2015
by
Joshua Haberman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #255 from btabibian/master
adding globals() to exec call for python3 compatibility
parents
de5d4550
2bf92b3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup.py
python/setup.py
+1
-1
No files found.
python/setup.py
View file @
cd141089
...
...
@@ -53,7 +53,7 @@ def GetVersion():
protobuf library may be loaded instead."""
with
open
(
os
.
path
.
join
(
'google'
,
'protobuf'
,
'__init__.py'
))
as
version_file
:
exec
(
version_file
.
read
())
exec
(
version_file
.
read
()
,
globals
()
)
return
__version__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment