From 69505c4296107003d565729a8af25c6e3c7e0784 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 29 Mar 2021 02:32:17 +0300 Subject: cgitize.repo: refactoring --- examples/my_repos.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'examples') diff --git a/examples/my_repos.py b/examples/my_repos.py index 75d4787..1e83334 100644 --- a/examples/my_repos.py +++ b/examples/my_repos.py @@ -1,12 +1,12 @@ -from cgitize.repo import BitbucketRepo, GithubRepo, Repo +from cgitize.repo import Bitbucket, GitHub, Repo MY_REPOS = ( - GithubRepo('xyz'), - GithubRepo('foo/bar', user='test', via_ssh=False), + GitHub('xyz'), + GitHub('foo/bar', user='test', via_ssh=False), - BitbucketRepo('xyz'), - BitbucketRepo('foo/bar', desc='Foo (Bar)'), + Bitbucket('xyz'), + Bitbucket('foo/bar', desc='Foo (Bar)'), Repo('tmp/tmp', clone_url='https://example.com/tmp.git', owner='John Doe'), ) -- cgit v1.2.3