diff options
Diffstat (limited to 'src/patches/iceweasel-branding/enable-object-directory-paths.patch')
-rw-r--r-- | src/patches/iceweasel-branding/enable-object-directory-paths.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/patches/iceweasel-branding/enable-object-directory-paths.patch b/src/patches/iceweasel-branding/enable-object-directory-paths.patch index 8c01e86..95cbc28 100644 --- a/src/patches/iceweasel-branding/enable-object-directory-paths.patch +++ b/src/patches/iceweasel-branding/enable-object-directory-paths.patch @@ -1,13 +1,13 @@ diff --git a/python/mozbuild/mozbuild/frontend/context.py b/python/mozbuild/mozbuild/frontend/context.py -index 07db8aa..8403e68 100644 +index b48c18a..8665c9c 100644 --- a/python/mozbuild/mozbuild/frontend/context.py +++ b/python/mozbuild/mozbuild/frontend/context.py -@@ -742,8 +742,6 @@ class SourcePath(Path): +@@ -927,8 +927,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') +- 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) |