mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Don't reset a repo if its .fdroidvcs file ends with a newline
This commit is contained in:
parent
496d3d1650
commit
19c99feb16
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class vcs:
|
||||||
if os.path.exists(self.local):
|
if os.path.exists(self.local):
|
||||||
if os.path.exists(fdpath):
|
if os.path.exists(fdpath):
|
||||||
with open(fdpath, 'r') as f:
|
with open(fdpath, 'r') as f:
|
||||||
fsdata = f.read()
|
fsdata = f.read().strip()
|
||||||
if fsdata == cdata:
|
if fsdata == cdata:
|
||||||
writeback = False
|
writeback = False
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue