diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/post_build_commands.py | 2 | ||||
-rw-r--r-- | python/tidy.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index 7faf3a598cf..667e4c6ace5 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -67,7 +67,7 @@ class MachCommands(CommandBase): print("The %s profile is not built. Please run './mach build%s' " "and try again." % ("release" if release else "dev", - "--release" if release else "")) + " --release" if release else "")) sys.exit() @Command('run', diff --git a/python/tidy.py b/python/tidy.py index c6bb4931e2d..cb20dff1646 100644 --- a/python/tidy.py +++ b/python/tidy.py @@ -14,7 +14,7 @@ import fnmatch import itertools from licenseck import licenses -directories_to_check = ["ports/gonk", "components"] +directories_to_check = ["ports", "components"] filetypes_to_check = [".rs", ".rc", ".cpp", ".c", ".h", ".py"] reftest_directories = ["tests/ref"] reftest_filetype = ".list" @@ -30,6 +30,7 @@ ignored_files = [ "components/servo/target/*", "ports/gonk/target/*", "ports/gonk/src/native_window_glue.cpp", + "ports/cef/*", # MIT license "components/util/deque/mod.rs", |