chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de1efe
)
Lint: don't complain if using tags and UCM is RM/branch
author
Daniel Martí
<mvdan@mvdan.cc>
Sun, 26 Jan 2014 19:42:47 +0000
(20:42 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sun, 26 Jan 2014 19:42:47 +0000
(20:42 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index f9f55d2253b86da46ecf9156cdee89523875e7aa..df8104baae310724dfd44d0cb3fed37b962e6334 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-88,7
+88,7
@@
def main():
lastcommit = build['commit']
# Potentially incorrect UCM
- if (app['Update Check Mode']
.startswith('RepoManifest')
and
+ if (app['Update Check Mode']
== 'RepoManifest'
and
any(s in lastcommit for s in ('.', ',', '_', '-', '/'))):
warn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
lastcommit, app['Update Check Mode']))