mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Apply 2026 black style
This commit is contained in:
@@ -5,6 +5,7 @@ Escapes a file into a form suitable for use with tool tests using re_match or re
|
||||
usage: re_escape_output.py [options] input_file [output_file]
|
||||
-m: Use Multiline Matching
|
||||
"""
|
||||
|
||||
import optparse
|
||||
import re
|
||||
|
||||
@@ -14,7 +15,7 @@ def __main__():
|
||||
parser.add_option(
|
||||
"-m", "--multiline", action="store_true", dest="multiline", default=False, help="Use Multiline Matching"
|
||||
)
|
||||
(options, args) = parser.parse_args()
|
||||
options, args = parser.parse_args()
|
||||
input = open(args[0], "rb")
|
||||
if len(args) > 1:
|
||||
output = open(args[1], "wb")
|
||||
|
||||
Reference in New Issue
Block a user