i18n/mki18n.py
branchpython3
changeset 3752 9f6f46dbe3ae
parent 3750 f62625418bff
child 3793 9958cf865da0
--- a/i18n/mki18n.py	Fri Oct 28 13:06:52 2022 +0800
+++ b/i18n/mki18n.py	Fri Oct 28 14:07:13 2022 +0800
@@ -80,11 +80,9 @@
 #
 
 
-
 import os
 import sys
 import re
-from builtins import str as text
 import wx
 
 
@@ -515,7 +513,7 @@
             makePO(appDirPath, option['domain'], option['verbose'])
             exit_code = 0
         except IOError as e:
-            printUsage(text(e) + '\n   You must write a file app.fil that contains the list of all files to parse.')
+            printUsage(str(e) + '\n   You must write a file app.fil that contains the list of all files to parse.')
     if option['mo']:
         makeMO(appDirPath, option['moTarget'], option['domain'], option['verbose'], option['forceEnglish'])
         exit_code = 0