boot_service.py doesn't work when the 'modules'
attribute of the service target is qualified with one
or more package names (That is, it contains dots)
This patch seems to fix the problem on my machine.
Logged In: YES
I believe this is no longer necessary. boot_service.py now has:
for name in service_module_names:
# Use the documented fact that when a fromlist is present,
# __import__ returns the innermost module in 'name'.
# This makes it possible to have a dotted name work the
# way you'd expect.
mod = __import__(name, globals(), locals(), ['DUMMY'])
for ob in mod.__dict__.values():
if hasattr(ob, "_svc_name_"):
which I believe is a slightly different way of spelling what
your patch does.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.