mirror of https://github.com/rq/rq.git
Don't warn. In fact, we rely on this the more.
This commit is contained in:
parent
2b6101d110
commit
0b837b4b12
|
@ -44,9 +44,6 @@ class Job(object):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def func(self):
|
def func(self):
|
||||||
import warnings
|
|
||||||
warnings.warn('Don\'t use this!', DeprecationWarning)
|
|
||||||
|
|
||||||
func_name = self.func_name
|
func_name = self.func_name
|
||||||
if func_name is None:
|
if func_name is None:
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue