summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index e4a970c640..88adfc1dfa 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -70,7 +70,7 @@ def deprecated(func, name = None, advice = ""):
70 def newFunc(*args, **kwargs): 70 def newFunc(*args, **kwargs):
71 warnings.warn("Call to deprecated function %s%s." % (name, 71 warnings.warn("Call to deprecated function %s%s." % (name,
72 advice), 72 advice),
73 category = DeprecationWarning, 73 category = PendingDeprecationWarning,
74 stacklevel = 2) 74 stacklevel = 2)
75 return func(*args, **kwargs) 75 return func(*args, **kwargs)
76 newFunc.__name__ = func.__name__ 76 newFunc.__name__ = func.__name__