diff --git a/bemade_git_repos_addons/wizard/git_repos_wizard.py b/bemade_git_repos_addons/wizard/git_repos_wizard.py index f84d539..663f618 100644 --- a/bemade_git_repos_addons/wizard/git_repos_wizard.py +++ b/bemade_git_repos_addons/wizard/git_repos_wizard.py @@ -13,14 +13,14 @@ class GitReposWizard(models.TransientModel): # code for pulling branch list from git repo using `self.url` # here the git branch data should be transformed into {'name': 'branch_name'} form - branches_datum = [{'name': 'branch_name'}] - - # logic for checking if repo can be reach and have branches - if not branches_datum: - raise exceptions.ValidationError('The Repository URL is not accurate or The repository has no branches.') - - # create git.branch records or link with existing ones - for branch_data in branches_datum: + # branches_datum = [{'name': 'branch_name'}] + # + # # logic for checking if repo can be reach and have branches + # if not branches_datum: + # raise exceptions.ValidationError('The Repository URL is not accurate or The repository has no branches.') + # + # # create git.branch records or link with existing ones + # for branch_data in branches_datum: # def action_confirm(self):