This is an automated email from the ASF dual-hosted git repository.

fanjia pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new de687e16f [Improve] fix update modules check (#3626)
de687e16f is described below

commit de687e16fe717da6afab3c57ddb0d61697235d91
Author: john <[email protected]>
AuthorDate: Fri Dec 2 13:31:05 2022 +0800

    [Improve] fix update modules check (#3626)
---
 tools/update_modules_check/update_modules_check.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/update_modules_check/update_modules_check.py 
b/tools/update_modules_check/update_modules_check.py
index bd6f11da7..3c91a124b 100644
--- a/tools/update_modules_check/update_modules_check.py
+++ b/tools/update_modules_check/update_modules_check.py
@@ -67,7 +67,7 @@ def get_sub_modules(file):
     f = open(file, 'rb')
     output = ""
     for line in f.readlines():
-        line = line.replace(" ","")
+        line = line.decode().replace(" ","")
         if line.startswith("<string>"):
             line = line.replace(" ","").replace("<string>", 
"").replace("</string>", "").replace("\n", "")
             output = output + "," + line

Reply via email to