mirror of
https://abf.rosa.ru/djam/repo-analyzer.git
synced 2025-02-23 18:12:54 +00:00
Fix the repodir search condition in analyze-repo-redundancy
This commit is contained in:
parent
82014f3096
commit
4c305cd105
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue