diff options
Diffstat (limited to 'python_modules/codegen.py')
-rw-r--r-- | python_modules/codegen.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/python_modules/codegen.py b/python_modules/codegen.py index bfb2351..affe5bc 100644 --- a/python_modules/codegen.py +++ b/python_modules/codegen.py @@ -1,5 +1,4 @@ -import six from io import StringIO def camel_to_underscores(s, upper = False): @@ -123,10 +122,7 @@ class CodeWriter: def write(self, s): # Ensure its a unicode string - if six.PY3: - s = str(s) - else: - s = unicode(s) + s = str(s) if len(s) == 0: return |