Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
security:tls:staging
pgadmin4
make-cloud-packages-optional.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-cloud-packages-optional.patch of Package pgadmin4
Index: pgadmin4-8.2/web/pgadmin/misc/__init__.py =================================================================== --- pgadmin4-8.2.orig/web/pgadmin/misc/__init__.py +++ pgadmin4-8.2/web/pgadmin/misc/__init__.py @@ -108,8 +108,17 @@ class MiscModule(PgAdminModule): from .bgprocess import blueprint as module self.submodules.append(module) - from .cloud import blueprint as module - self.submodules.append(module) + try: + from .cloud import blueprint as module + self.submodules.append(module) + except ModuleNotFoundError: + print('\n\n') + print('###########################################################\n') + print(' IMPORTANT WARNING:\n') + print('Cloud packages not found, if you want to enable cloud support,') + print('please install the pgadmin4-cloud package') + print('\n###########################################################\n') + from .dependencies import blueprint as module self.submodules.append(module)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor