mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
lint: don't be pedantic about downloading code
We don't really control this if run via a script, which happens more often.
This commit is contained in:
parent
c70e03f67c
commit
7e529c495e
1 changed files with 0 additions and 7 deletions
|
|
@ -214,13 +214,6 @@ def main():
|
|||
if ref.startswith(s):
|
||||
warn("Branch '%s' used as commit in srclib '%s'" % (
|
||||
s, srclib))
|
||||
for s in ['git clone', 'git svn clone', 'svn checkout', 'svn co', 'hg clone']:
|
||||
for flag in ['init', 'prebuild', 'build']:
|
||||
if not build[flag]:
|
||||
continue
|
||||
if s in build[flag]:
|
||||
# TODO: This should not be pedantic!
|
||||
pwarn("'%s' used in %s '%s'" % (s, flag, build[flag]))
|
||||
|
||||
if not curid:
|
||||
print
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue