aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgitize/config.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cgitize/config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/cgitize/config.py b/cgitize/config.py
index 0e42357..821dd6d 100644
--- a/cgitize/config.py
+++ b/cgitize/config.py
@@ -9,7 +9,7 @@ import tomli
from cgitize.bitbucket import Bitbucket
from cgitize.github import GitHub
-from cgitize.gitlab import Gitlab
+from cgitize.gitlab import GitLab
from cgitize.repo import Repo
@@ -96,7 +96,7 @@ class BitbucketSection(Section):
return map(HostedRepo, self.repositories.enum_repositories())
-class GitlabSection(Section):
+class GitLabSection(Section):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.users = UsersSection(self.impl.get('users', {}))
@@ -170,7 +170,7 @@ class Config:
self.repositories = RepositoriesSection(self.impl.get('repositories', {}))
self.github = GitHubSection(self.impl.get('github', {}))
self.bitbucket = BitbucketSection(self.impl.get('bitbucket', {}))
- self.gitlab = GitlabSection(self.impl.get('gitlab', {}))
+ self.gitlab = GitLabSection(self.impl.get('gitlab', {}))
def _parse_explicit_repositories(self):
for r in self.repositories.enum_repositories():
@@ -197,7 +197,7 @@ class Config:
return self._parse_hosted_repositories(self.bitbucket, bitbucket)
def _parse_gitlab_repositories(self):
- gitlab = Gitlab(self.gitlab.access_token)
+ gitlab = GitLab(self.gitlab.access_token)
return self._parse_hosted_repositories(self.gitlab, gitlab)
def parse_repositories(self):