agent: skip system checks in messaging commands (#39940)

This commit is contained in:
Frédéric Péters 2020-02-17 14:26:33 +01:00
parent 6123b1bce2
commit 486aa8bec6
2 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ def replace_file(path, content):
class Command(BaseCommand):
early_secondary_exit = True
requires_system_checks = False
me = None
def add_arguments(self, parser):

View File

@ -34,6 +34,8 @@ class TryAgain(Exception):
pass
class Command(BaseCommand):
requires_system_checks = False
def add_arguments(self, parser):
parser.add_argument('notification', metavar='NOTIFICATION', type=str)