get plugins from file
(self)
| 1061 | return status_code, uninstall_args |
| 1062 | |
| 1063 | def _get_plugins_from_file(self): |
| 1064 | """ get plugins from file |
| 1065 | |
| 1066 | """ |
| 1067 | logger.info(f'Loading plugins information from {self.file_path}') |
| 1068 | if os.path.exists(self.file_path): |
| 1069 | local_plugins_info_bytes = storage.read(self.file_path) |
| 1070 | local_plugins_info = json.loads(local_plugins_info_bytes) |
| 1071 | else: |
| 1072 | local_plugins_info = {} |
| 1073 | return local_plugins_info |
| 1074 | |
| 1075 | def _update_plugins( |
| 1076 | self, |
no test coverage detected