aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/examples
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-29 02:32:17 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-29 02:32:17 +0300
commit69505c4296107003d565729a8af25c6e3c7e0784 (patch)
treecd9587bc7e4c19a2faed6c3a4ba991ccb47ae73d /examples
parentsupport access tokens for GitHub/Bitbucket (diff)
downloadcgitize-69505c4296107003d565729a8af25c6e3c7e0784.tar.gz
cgitize-69505c4296107003d565729a8af25c6e3c7e0784.zip
cgitize.repo: refactoring
Diffstat (limited to 'examples')
-rw-r--r--examples/my_repos.py10
1 files changed, 5 insertions, 5 deletions
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'),
)