mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02: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
@ -214,13 +214,6 @@ def main():
|
|||||||
if ref.startswith(s):
|
if ref.startswith(s):
|
||||||
warn("Branch '%s' used as commit in srclib '%s'" % (
|
warn("Branch '%s' used as commit in srclib '%s'" % (
|
||||||
s, srclib))
|
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:
|
if not curid:
|
||||||
print
|
print
|
||||||
|
Loading…
Reference in New Issue
Block a user