Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

Commit

Permalink
Fix CMake generator Python 3 compatibility issue
Browse files Browse the repository at this point in the history
  • Loading branch information
graysonlang authored Jan 29, 2020
1 parent e87d37d commit fd37fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylib/gyp/generator/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
try:
# maketrans moved to str in python3.
_maketrans = string.maketrans
except NameError:
except AttributeError:
_maketrans = str.maketrans

generator_default_variables = {
Expand Down

0 comments on commit fd37fe9

Please sign in to comment.