[arch] fix -> 'rebuild-detector' integration not working when launched from KDE menu or PyCharm

This commit is contained in:
Vinicius Moreira
2021-01-15 17:56:02 -03:00
parent 765bdff851
commit 465c90a7b6
6 changed files with 8 additions and 11 deletions

View File

@@ -583,10 +583,6 @@ class ArchManager(SoftwareManager):
def __fill_packages_to_rebuild(self, output: Dict[str, Set[str]]):
if rebuild_detector.is_installed():
if 'PYCHARM_CLASSPATH' in os.environ:
self.logger.warning("'rebuild-detector' is currently not working within PyCharm. Aborting...")
return
self.logger.info("rebuild-detector: checking")
to_rebuild = rebuild_detector.list_required_rebuild()
output['to_rebuild'].update(to_rebuild)