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:
0c79ac5
)
Don't warn about tags UCM usage if UCM:None
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 24 Jan 2014 16:46:50 +0000
(17:46 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 24 Jan 2014 17:25:06 +0000
(18:25 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 1142818a40931893cc78503a6190b1fbd8fc8135..f9f55d2253b86da46ecf9156cdee89523875e7aa 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']
in ['RepoManifest', 'None']
and
+ if (app['Update Check Mode']
.startswith('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']))