提交 56097b7f 编写于 作者: A Ansgar Burchardt

Merge branch 'fix-E115' into 'master'

Fix E115: Expected an indented block (comment)

See merge request ftp-team/dak!63
......@@ -195,6 +195,6 @@ def main():
if __name__ == '__main__':
# import doctest
# doctest.testmod()
# import doctest
# doctest.testmod()
main()
......@@ -522,7 +522,7 @@ def process_queue(queue, log, rrd_dir):
if "Queue-Report::Options::Age" in Cnf:
age = Cnf["Queue-Report::Options::Age"]
if "Queue-Report::Options::New" in Cnf:
# If we produce html we always have oldest first.
# If we produce html we always have oldest first.
direction.append([6,-1,"ao"])
else:
if "Queue-Report::Options::Sort" in Cnf:
......@@ -602,7 +602,7 @@ def process_queue(queue, log, rrd_dir):
table_row(source, version_list, arch_list, last_modified, maint, distribution, closes, fingerprint, sponsor, changedby)
table_footer(type.upper())
elif "Queue-Report::Options::822" not in Cnf:
# The "normal" output without any formatting.
# The "normal" output without any formatting.
msg = ""
for entry in entries:
(source, binary, version_list, arch_list, processed, note, last_modified, _, _, _, _, _, _, _) = entry
......
......@@ -6,7 +6,6 @@ ignore =
E501,
# Ignore all flake8 errors for now. Whoever wants to fixup our code (PLEASE),
# remove one, fixup all occurences, submit a merge request...
E115,
E123,
E124,
E125,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册