diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patman/patman.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py index e76fc42dd19..6fe8fe068c3 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]] |