summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-08-01 00:16:04 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-01 00:16:04 (GMT)
commit352bc77054ceb10a580f871ef4008fa9b0e82be6 (patch)
tree11b466a5e686103718b9ffc0c3909e034d29f97f
parentdad17fd51027ad02ac8f02deed186d08109d61fd (diff)
parent9649e152cbdd98d836912c45acd1f03fc70a21a5 (diff)
downloadu-boot-fsl-qoriq-352bc77054ceb10a580f871ef4008fa9b0e82be6.tar.xz
Merge git://git.denx.de/u-boot-x86
-rwxr-xr-xtools/patman/patman.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index e76fc42..6fe8fe0 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -74,8 +74,11 @@ specified by tags you place in the commits. Use -n to do a dry run first."""
settings.Setup(parser, options.project, '')
(options, args) = parser.parse_args()
+if __name__ != "__main__":
+ pass
+
# Run our meagre tests
-if options.test:
+elif options.test:
import doctest
sys.argv = [sys.argv[0]]