chiark / gitweb /
Don't use exists() on symlinks
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 1 Oct 2015 00:04:00 +0000 (17:04 -0700)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 1 Oct 2015 00:05:44 +0000 (17:05 -0700)
commit712deb4396f8a23f6fcc3c3d2803d2bf510deae1
tree893d53ca769e0484dfae26e0881fa7ee83418361
parent1ed33bfa96f6a506d2c8a252886a778639986cd5
Don't use exists() on symlinks

If they are broken, exists() will return false. islink() will return true in
both cases.
fdroidserver/update.py