diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-01 11:38:34 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-08-01 11:38:34 +0300 |
commit | c973015134439540d96d9d1bbee4155188f57d45 (patch) | |
tree | 2da7c325156075f81376f35dbaecfcfc52497cab /cgit | |
parent | test/integration/docker: generate new SSH keys every time (diff) | |
download | cgitize-c973015134439540d96d9d1bbee4155188f57d45.tar.gz cgitize-c973015134439540d96d9d1bbee4155188f57d45.zip |
fix the lately broken --repo flag
Diffstat (limited to '')
-rw-r--r-- | cgitize/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgitize/main.py b/cgitize/main.py index 9497cad..08d18df 100644 --- a/cgitize/main.py +++ b/cgitize/main.py @@ -37,7 +37,7 @@ def main(args=None): output = CGitRepositories(config.main.output_dir, cgit_server, force=args.force) success = True for repo in config.parse_repositories(): - if args.repos is None or repo.repo_id in args.repos: + if args.repos is None or repo.name in args.repos: if not output.update(repo): success = False if success: |