diff options
-rw-r--r-- | bitbake/lib/bb/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index e4a970c64..88adfc1df 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py @@ -70,7 +70,7 @@ def deprecated(func, name = None, advice = ""): def newFunc(*args, **kwargs): warnings.warn("Call to deprecated function %s%s." % (name, advice), - category = DeprecationWarning, + category = PendingDeprecationWarning, stacklevel = 2) return func(*args, **kwargs) newFunc.__name__ = func.__name__ |