1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +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:
Daniel Martí 2015-06-05 16:59:01 +02:00
parent c70e03f67c
commit 7e529c495e

View File

@ -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