diff --git a/analyze-repo-redundancy.py b/analyze-repo-redundancy.py index 05b0bf1..2f5a83e 100755 --- a/analyze-repo-redundancy.py +++ b/analyze-repo-redundancy.py @@ -42,7 +42,7 @@ def main(args): for repo in options.repo[0]: print repo rid = c.execute(""" -SELECT id FROM repodirs WHERE name = ? OR name = ? +SELECT id FROM repodirs WHERE name = ? OR path = ? """, [repo, repo]).fetchall() if rid is None: print 'Repository "%" not found.' % repo