chiark / gitweb /
downcase all 'localized' key names to match the rest of index-v1
[fdroidserver.git] / fdroidserver / lint.py
index b9c0eaf84e690c19d04476b3d2f266b710c5314d..125a963837ad229c58c8af7ec5203b74e5373f0c 100644 (file)
@@ -163,13 +163,13 @@ def check_ucm_tags(app):
 def check_char_limits(app):
     limits = config['char_limits']
 
-    if len(app.Summary) > limits['Summary']:
+    if len(app.Summary) > limits['summary']:
         yield "Summary of length %s is over the %i char limit" % (
-            len(app.Summary), limits['Summary'])
+            len(app.Summary), limits['summary'])
 
-    if len(app.Description) > limits['Description']:
+    if len(app.Description) > limits['description']:
         yield "Description of length %s is over the %i char limit" % (
-            len(app.Description), limits['Description'])
+            len(app.Description), limits['description'])
 
 
 def check_old_links(app):