Page MenuHomeDevCentral

Allow to import application as module
ClosedPublic

Authored by dereckson on Sun, Oct 11, 19:17.

Details

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()

Diff Detail

Repository
rNOTIFCLI Notifications center CLI client
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sun, Oct 11, 19:17