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:
41690b7
)
lint: catch links at the beginning too
author
Daniel Martí
<mvdan@mvdan.cc>
Sat, 28 Nov 2015 10:33:01 +0000
(11:33 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Sat, 28 Nov 2015 10:58:55 +0000
(11:58 +0100)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index db6707c1c6c3ecc139fcef2b7a2db1bcdbcdb24f..7821b5811675a413ead5ce75435c9e1b64572329 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-178,7
+178,7
@@
def check_useless_fields(app):
if app['Update Check Name'] == app['id']:
yield "Update Check Name is set to the known app id - it can be removed"
-filling_ucms = re.compile('^(Tags.*|RepoManifest.*)')
+filling_ucms = re.compile(
r
'^(Tags.*|RepoManifest.*)')
def check_checkupdates_ran(app):
@@
-255,7
+255,7
@@
def check_duplicates(app):
seenlines.add(l)
-desc_url = re.compile(
"[^[]\[([^ ]+)( |\]|$)"
)
+desc_url = re.compile(
r'(^|[^[])\[([^ ]+)( |\]|$)'
)
def check_mediawiki_links(app):