1. Eric Larson
  2. eggmonster

Commits

Jason R. Coombs  committed 737bde0

Monster runner now accepts namespace packages

  • Participants
  • Parent commits d9b8575
  • Branches em4
  • Tags 4.1.30

Comments (0)

Files changed (1)

File eggmonster/runner.py

View file
         cfg = load_config(config_path)
 
     # Pull the appropriate environment from the configuration.
-    pkgname, entry_point = app.split('.', 1)
+    pkgname, __sep, entry_point = app.rpartition('.')
     try:
         entry_point, env, pkginfo, options = cfg.apps[app]
     except KeyError: