main
Bob Mottram 2020-05-03 11:42:18 +00:00
parent ebfb234a3c
commit fd9fd5e49e
1 changed files with 1 additions and 2 deletions

3
git.py
View File

@ -95,8 +95,7 @@ def gitAddFromHandle(patchStr: str, handle: str) -> str:
if fromStr in patchStr: if fromStr in patchStr:
return patchStr return patchStr
prevContentStr = patchStr patchLines = patchStr.split('\n')
patchLines = prevContentStr.split('\n')
patchStr = '' patchStr = ''
for line in patchLines: for line in patchLines:
patchStr += line + '\n' patchStr += line + '\n'