Skip to content

Commit

Permalink
simplied verification
Browse files Browse the repository at this point in the history
  • Loading branch information
joel5vega committed Jan 3, 2024
1 parent fab5424 commit 9380687
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/sugar/sugar.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@ def _filter_service_group(self):
selected_group_name = self.args.get('service_group')

# Verify if project-name is not null
if 'project-name' not in self.defaults or self.defaults.get('project-name') == "null" or self.defaults.get('project-name') == None:
default_project_name = ''
self.defaults['project-name'] = ''
else:
default_project_name = self.defaults.get('project-name')
default_project_name = self.defaults.get('project-name', '') or ''

for group_name, group_data in groups.items():
if group_name == selected_group_name:
Expand Down

0 comments on commit 9380687

Please sign in to comment.