Skip to content

Commit

Permalink
Deleted the error message for deleting kernel.
Browse files Browse the repository at this point in the history
  • Loading branch information
naitikrambhia committed Oct 17, 2024
1 parent 7e57f04 commit ccf09ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ out/
*.zip
*_pros_capture.png

venv/

*venv/
.DS_Store
*.pyc
2 changes: 0 additions & 2 deletions pros/conductor/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ def new_user_filter(new_file: str) -> bool:
def remove_template(self, template: Template, remove_user: bool = False, remove_empty_directories: bool = True):
if not self.template_is_installed(template):
raise ValueError(f'{template.identifier} is not installed on this project.')
if template.name == 'kernel':
raise ValueError(f'Cannot remove the kernel template. Maybe create a new project?')

real_template = LocalTemplate(orig=template, location=self.location)
transaction = Transaction(self.location, set(self.all_files))
Expand Down

0 comments on commit ccf09ae

Please sign in to comment.