HomeDevCentral

Allow to import application as module

Description

Allow to import application as module

Summary: This is useful to debug the application or instrument it.

Test Plan:

from importlib.machinery import SourceFileLoader

notifications = SourceFileLoader('notifications', '/usr/local/bin/notifications').load_module()

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D2359

Details

Provenance
derecksonAuthored on Oct 11 2020, 17:13
derecksonPushed on Oct 11 2020, 19:17
Reviewer
dereckson
Differential Revision
D2359: Allow to import application as module
Parents
rNOTIFCLIcf19ed071b18: Update code to be compliant with Pika 0.12
Branches
Unknown
Tags
Unknown