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:
edda052
)
Better identify empty licenses
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 28 Mar 2014 10:40:58 +0000
(11:40 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 28 Mar 2014 10:40:58 +0000
(11:40 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 550216c5dda8a704608da4220f4a107b2759546e..13479286908538d5a4ee537ce9d9b21670715ae6 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-160,9
+160,9
@@
def main():
pwarn("Last used commit '%s' looks like a tag, but Update Check Mode is '%s'" % (
lastcommit, app['Update Check Mode']))
- # No license
- if app['License']
== 'Unknown'
:
- warn("License was not
properly
set")
+ # No
proper
license
+ if app['License']
in ('Unknown','None','')
:
+ warn("License was not set")
# Summary size limit
summ_chars = len(app['Summary'])