From 473bfe17b77cc445bd191829dc02aa1f4aed28f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20V=C3=A9zina?= Date: Tue, 30 Apr 2024 14:45:11 -0400 Subject: [PATCH] lil fix --- .../wizard/git_repos_wizard.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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):