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:
parent
01b9fb1549
commit
9038161b70
@ -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)
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user