aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/servo/command_base.py2
-rw-r--r--python/tidy/tidy.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 0a632fc0ede..09da1491a8f 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -871,7 +871,7 @@ class CommandBase(object):
api = "capi"
port = path.join("libsimpleservo", api)
else:
- port = "winit"
+ port = "servoshell"
args += [
"--manifest-path",
path.join(self.context.topdir, "ports", port, "Cargo.toml"),
diff --git a/python/tidy/tidy.py b/python/tidy/tidy.py
index c9ecf449c85..c79f086d747 100644
--- a/python/tidy/tidy.py
+++ b/python/tidy/tidy.py
@@ -528,9 +528,9 @@ def check_rust(file_name, lines):
PANIC_NOT_ALLOWED_PATHS = [
os.path.join("*", "components", "compositing", "compositor.rs"),
os.path.join("*", "components", "constellation", "*"),
- os.path.join("*", "ports", "winit", "headed_window.rs"),
- os.path.join("*", "ports", "winit", "headless_window.rs"),
- os.path.join("*", "ports", "winit", "embedder.rs"),
+ os.path.join("*", "ports", "servoshell", "headed_window.rs"),
+ os.path.join("*", "ports", "servoshell", "headless_window.rs"),
+ os.path.join("*", "ports", "servoshell", "embedder.rs"),
os.path.join("*", "rust_tidy.rs"), # This is for the tests.
]
is_panic_not_allowed_rs_file = any([