mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03:00
apply numpy docstyle
This commit is contained in:
parent
01b9fb1549
commit
9038161b70
2 changed files with 2 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue