# Path: iprestrict/management/commands/_utils.py
# def warn_about_renamed_command(old_name, new_name):
#     # DeprecationWarnings are ignored by default, so lets make sure that
#     # the warnings are shown by using the default UserWarning instead
#     warnings.warn("The command '%s' has been deprecated and it will be removed in a future version. "
#                   "Please use '%s' instead." % (old_name, new_name))


from ._utils import warn_about_renamed_command
from . import reload_rules
# -*- coding: utf-8 -*-
from __future__ import unicode_literals



class Command(reload_rules.Command):

    def handle(self, *args, **options):
        warn_about_renamed_command('reloadrules', 'reload_rules')

# Path: iprestrict/management/commands/_utils.py
# def warn_about_renamed_command(old_name, new_name):
#     # DeprecationWarnings are ignored by default, so lets make sure that
#     # the warnings are shown by using the default UserWarning instead
#     warnings.warn("The command '%s' has been deprecated and it will be removed in a future version. "
#                   "Please use '%s' instead." % (old_name, new_name))


# Path: iprestrict/management/commands/reloadrules.py
from ._utils import warn_about_renamed_command
from . import reload_rules

# -*- coding: utf-8 -*-
from __future__ import unicode_literals



class Command(reload_rules.Command):

    def handle(self, *args, **options):
        warn_about_renamed_command('reloadrules', 'reload_rules')

        super(Command, self).handle(*args, **options)