That was silly.
This commit is contained in:
parent
f2f223cb23
commit
3f6fec6ba3
|
@ -2,6 +2,7 @@ from __future__ import print_function
|
||||||
import gettext
|
import gettext
|
||||||
_ = gettext.gettext
|
_ = gettext.gettext
|
||||||
|
|
||||||
|
|
||||||
# ICK. Mutation, references, and hidden assignment.
|
# ICK. Mutation, references, and hidden assignment.
|
||||||
def group_by(iterable, field_id):
|
def group_by(iterable, field_id):
|
||||||
results = []
|
results = []
|
||||||
|
@ -15,6 +16,7 @@ def group_by(iterable, field_id):
|
||||||
results.append((key, keys[key]))
|
results.append((key, keys[key]))
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
||||||
def print_report(results, unlintable_filenames, cant_lint_filenames,
|
def print_report(results, unlintable_filenames, cant_lint_filenames,
|
||||||
broken_linter_names, unfindable_filenames, options={'bylinter': True}):
|
broken_linter_names, unfindable_filenames, options={'bylinter': True}):
|
||||||
sort_position = 1
|
sort_position = 1
|
||||||
|
@ -48,7 +50,7 @@ def print_help(options, name):
|
||||||
|
|
||||||
|
|
||||||
def print_version(name, version):
|
def print_version(name, version):
|
||||||
print(_('{} {} Copyright (c) 2009, 2016 Kennth M. "Elf" Sternberg')).format(name, version)
|
print(_('{} {} Copyright (c) 2009, 2016 Kennth M. "Elf" Sternberg').format(name, version))
|
||||||
|
|
||||||
|
|
||||||
def print_linters(config, broken_linter_names):
|
def print_linters(config, broken_linter_names):
|
||||||
|
|
Loading…
Reference in New Issue