Skip to content
Snippets Groups Projects
Commit 9649e152 authored by Simon Glass's avatar Simon Glass
Browse files

patman: Don't run patman when it is imported as a module


Commit 488d19cb (patman: add distutils based installer) has the side effect
of making patman run twice with each invocation. Fix this by checking for
'main program' invocation in patman.py. This is good practice in any case.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarChris Packham <judge.packham@gmail.com>
parent cc357343
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment