Skip to content

Commit 03651df

Browse files
committed
rhbugzilla: Warn about rhbz_back_compat removal
1 parent 8ea1727 commit 03651df

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bugzilla/rhbugzilla.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
4949
if "rhbz_back_compat" in kwargs:
5050
self.rhbz_back_compat = bool(kwargs.pop("rhbz_back_compat"))
5151

52+
if self.rhbz_back_compat:
53+
log.warn("rhbz_back_compat will be removed in a future release.")
54+
5255
_parent.__init__(self, **kwargs)
5356

5457
def _add_both_alias(newname, origname):

0 commit comments

Comments
 (0)