Commit 9170e613 authored by Thomas Lotze's avatar Thomas Lotze

re #10: filtering for project now applies to path and full path as well

parent 99447f22
......@@ -18,7 +18,11 @@ def fetch(url, token, filter):
# clever and optimise here, even if this results in a full-database scan.
# Let's see whether we'll be forced to optimise by production data.
for project in projects:
if filter['project'] not in (project.name, None):
if filter['project'] not in (
project.name,
project.path,
project.path_with_namespace,
None):
continue
issues = project.issues.list(all=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment