1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Don't reset a repo if its .fdroidvcs file ends with a newline

This commit is contained in:
Daniel Martí 2014-03-05 13:22:58 +01:00
parent 496d3d1650
commit 19c99feb16

View File

@ -250,7 +250,7 @@ class vcs:
if os.path.exists(self.local):
if os.path.exists(fdpath):
with open(fdpath, 'r') as f:
fsdata = f.read()
fsdata = f.read().strip()
if fsdata == cdata:
writeback = False
else: