summaryrefslogtreecommitdiff
path: root/src/patches/iceweasel-branding/enable-object-directory-paths.patch
blob: 2fe5d6f64b4cc17a72be2bcef9f8034640c43027 (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 41ae8ae..dcc3263 100644
--- a/python/mozbuild/mozbuild/frontend/context.py
+++ b/python/mozbuild/mozbuild/frontend/context.py
@@ -651,8 +651,6 @@ class Path(ContextDerivedValue, unicode):
 class SourcePath(Path):
     """Like Path, but limited to paths in the source directory."""
     def __init__(self, context, value):
-        if value.startswith('!'):
-            raise ValueError('Object directory paths are not allowed')
         if value.startswith('%'):
             raise ValueError('Filesystem absolute paths are not allowed')
         super(SourcePath, self).__init__(context, value)