blob: 8c01e86795d62cd45037e933654b2b9fee27b8db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/python/mozbuild/mozbuild/frontend/context.py b/python/mozbuild/mozbuild/frontend/context.py
index 07db8aa..8403e68 100644
--- a/python/mozbuild/mozbuild/frontend/context.py
+++ b/python/mozbuild/mozbuild/frontend/context.py
@@ -742,8 +742,6 @@ class SourcePath(Path):
"""Like Path, but limited to paths in the source directory."""
def __new__(cls, context, value=None):
- if value.startswith('!'):
- raise ValueError('Object directory paths are not allowed')
if value.startswith('%'):
raise ValueError('Filesystem absolute paths are not allowed')
self = super(SourcePath, cls).__new__(cls, context, value)
|