This commit is contained in:
Bas Stottelaar
2014-11-10 20:47:27 +01:00
parent e6397b28a5
commit fda4658e92

11
lib/pkg_resources.py Normal file
View File

@@ -0,0 +1,11 @@
# Stub file. Not affiliated with the original 'pkg_resource.py' included in the
# 'setuptools' package.
def iter_entry_points(group, name=None):
"""
Stub method to make APScheduler happy. This method is only imported in
'lib/apscheduler/schedulers/base.py' to autodetect triggers, executors and
job stores. Headphones does not use this functionality, so it just returns
an iterator of an empty dict.
"""
return iter(dict())