Commit 607c07f4 by sikang

test

parent e0b2cfad
...@@ -37,8 +37,8 @@ class ActivityGarble: ...@@ -37,8 +37,8 @@ class ActivityGarble:
after = re.findall(r''+ "%s[0-9a-zA-Z_]"% dst,file_content) after = re.findall(r''+ "%s[0-9a-zA-Z_]"% dst,file_content)
if after != None: if after != None:
for name in after: for name in after:
char = name.split(dst)[0] char = name.split(dst)[1]
file_content = file_content.replace(name, char + src) file_content = file_content.replace(name, src + char)
ext = os.path.splitext(file_name)[1] ext = os.path.splitext(file_name)[1]
if ext == '.java': if ext == '.java':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment