cleanup: Remove duplicate 'objtag' method

This commit is contained in:
Jake 2026-03-05 00:06:27 -08:00
parent 3898752678
commit 465a46a91b

View file

@ -534,20 +534,6 @@ def is_ooc(accessing_obj, accessed_obj, *args, **kwargs):
return not session.get_puppet()
def objtag(accessing_obj, accessed_obj, *args, **kwargs):
"""
Usage:
objtag(tagkey)
objtag(tagkey, category)
Only true if accessed_obj has the specified tag and optional
category.
"""
tagkey = args[0] if args else None
category = args[1] if len(args) > 1 else None
return bool(accessed_obj.tags.get(tagkey, category=category))
def inside(accessing_obj, accessed_obj, *args, **kwargs):
"""
Usage: