mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[build-script] Remove unused Python helper
Grepping this repository for `bad_usage` turns up zero results. This function is unused.
This commit is contained in:
@@ -64,11 +64,6 @@ def print_with_argv0(message):
|
||||
print(sys.argv[0] + ": " + message)
|
||||
|
||||
|
||||
def bad_usage(message):
|
||||
print_with_argv0(message)
|
||||
print("Run '" + pipes.quote(sys.argv[0]) + " --help' for more information.")
|
||||
sys.exit(1)
|
||||
|
||||
def quote_shell_command(args):
|
||||
return " ".join([ pipes.quote(a) for a in args ])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user