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 Sun, Oct 11, 17:13
derecksonPushed on Sun, Oct 11, 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