Skip to content

Commit de5ea43

Browse files
committed
[nginxctl/helpers.py] string.maketrans import
1 parent 3515076 commit de5ea43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginxctl/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
if version_info[0] == 2:
77
from codecs import open
8+
from string import maketrans # noqa: F821
89

9-
maketrans = string.maketrans # noqa: F821
1010
string_types = basestring, # noqa: F821
1111
else:
1212
maketrans = str.maketrans

0 commit comments

Comments
 (0)