1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-16 03:10:09 +02:00

apply numpy docstyle

This commit is contained in:
Benedikt Brückmann 2021-06-14 08:34:57 +02:00
parent 01b9fb1549
commit 9038161b70
2 changed files with 2 additions and 6 deletions

View File

@ -4528,7 +4528,7 @@ NDKS = [
def handle_retree_error_on_windows(function, path, excinfo):
"""Python can't remove a readonly file on Windows so chmod first"""
"""Python can't remove a readonly file on Windows so chmod first."""
if function in (os.unlink, os.rmdir, os.remove) and excinfo[0] == PermissionError:
os.chmod(path, stat.S_IWRITE)
function(path)

View File

@ -249,11 +249,7 @@ def get_lastbuild(builds):
def check_update_check_data_url(app):
<<<<<<< HEAD
"""UpdateCheckData must have a valid HTTPS URL to protect checkupdates runs"""
=======
"""UpdateCheckData must have a valid HTTPS URL to protect checkupdates runs."""
>>>>>>> c380427b (rewrite docstrings to match numpy style guide)
"""Updatecheckdata must have a valid HTTPS URL to protect checkupdates runs."""
if app.UpdateCheckData and app.UpdateCheckMode == 'HTTP':
urlcode, codeex, urlver, verex = app.UpdateCheckData.split('|')
for url in (urlcode, urlver):