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:
ac00426
)
Warn about empty categs
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 15 May 2015 14:54:41 +0000
(16:54 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 15 May 2015 15:09:21 +0000
(17:09 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index de4a2d1bb72756c2d8f12c5a12273eb5d199bb1a..379dd5625e317248369b4eba7472bb0833623e09 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-198,6
+198,8
@@
def main():
# "None" still a category
if 'None' in app['Categories']:
warn("Category 'None' is is still present")
+ elif not app['Categories']:
+ warn("Categories are not set")
name = app['Name'] or app['Auto Name']
if app['Summary'] and name: