mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-10 17:20:29 +03:00
Fix errors from merge and review
This commit is contained in:
parent
3d85b91dc4
commit
675d034ac7
3 changed files with 8 additions and 5 deletions
|
|
@ -1056,7 +1056,7 @@ class vcs:
|
|||
"""Get a list of all the known tags, sorted from newest to oldest."""
|
||||
raise VCSException('latesttags not supported for this vcs type')
|
||||
|
||||
def getref(self):
|
||||
def getref(self, revname=None):
|
||||
"""Get current commit reference (hash, revision, etc)."""
|
||||
raise VCSException('getref not supported for this vcs type')
|
||||
|
||||
|
|
|
|||
|
|
@ -248,8 +248,8 @@ def get_lastbuild(builds):
|
|||
return lastbuild
|
||||
|
||||
|
||||
def check_update_check_data_url(app):
|
||||
"""Updatecheckdata must have a valid HTTPS URL to protect checkupdates runs."""
|
||||
def check_update_check_data_url(app): # noqa: D403
|
||||
"""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