From dd3dac2f2cd8bc008f11e0108d3fb64d0e4e8fd9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 7 Jun 2020 06:45:49 -0600 Subject: patman: Avoid importing gitutil in settings Pass this module in so that settings does not need to import it. Signed-off-by: Simon Glass Reported-by: Stefan Bosch --- tools/patman/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/patman/main.py') diff --git a/tools/patman/main.py b/tools/patman/main.py index 0974c840598..0df2aa5a98b 100755 --- a/tools/patman/main.py +++ b/tools/patman/main.py @@ -80,7 +80,7 @@ specified by tags you place in the commits. Use -n to do a dry run first.""" # Parse options twice: first to get the project and second to handle # defaults properly (which depends on project). (options, args) = parser.parse_args() -settings.Setup(parser, options.project, '') +settings.Setup(gitutil, parser, options.project, '') (options, args) = parser.parse_args() if __name__ != "__main__": -- cgit v1.2.3