Commit 78a61815 authored by Alex Lopez's avatar Alex Lopez
Browse files

Bug 1696251 - Rename methods that would shadow builtin functions when de-classing. r=mhentges

parent 6fede10f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -488,7 +488,7 @@ class Warnings(MachCommandBase):
        help="Warnings report to display. If not defined, show the most "
        "recent report.",
    )
    def list(self, command_context, directory=None, flags=None, report=None):
    def list_warnings(self, command_context, directory=None, flags=None, report=None):
        database = self.get_warnings_database(command_context)

        by_name = sorted(database.warnings)
+1 −1
Original line number Diff line number Diff line
@@ -142,7 +142,7 @@ class MachCommands(MachCommandBase):
        description="Format files, alternative to 'lint --fix' ",
        parser=setup_argument_parser,
    )
    def format(self, command_context, paths, extra_args=[], **kwargs):
    def format_files(self, command_context, paths, extra_args=[], **kwargs):
        linters = kwargs["linters"]

        if not linters: