diff --git a/CHANGES.md b/CHANGES.md index 548e87a0..e998899b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,15 @@ -### 0.3.7 +### 0.3.8 (not yet released) - ... +### 0.3.7 +(February 26th, 2013) + +- Fixed bug where workers would not execute builtin functions properly. + + ### 0.3.6 (February 18th, 2013) diff --git a/rq/job.py b/rq/job.py index 98ddfec1..a1c82052 100644 --- a/rq/job.py +++ b/rq/job.py @@ -78,7 +78,7 @@ class Job(object): if inspect.ismethod(func): job._instance = func.im_self job._func_name = func.__name__ - elif inspect.isfunction(func): + elif inspect.isfunction(func) or inspect.isbuiltin(func): job._func_name = '%s.%s' % (func.__module__, func.__name__) else: # we expect a string job._func_name = func diff --git a/rq/version.py b/rq/version.py index f42c0a7b..9aaa604c 100644 --- a/rq/version.py +++ b/rq/version.py @@ -1 +1 @@ -VERSION = '0.3.7-dev' +VERSION = '0.3.8-dev'