diff options
author | CoprDistGit <infra@openeuler.org> | 2023-08-10 07:39:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-08-10 07:39:16 +0000 |
commit | 5e436004d7ec50bc29f392fded92224b4cb93e86 (patch) | |
tree | bc5fedac052339e4650f8c50a7665b1eabc044f0 /mozilla-1669639.patch | |
parent | 4b16a230f7f50826db46407f4ccfde8510e70642 (diff) |
automatic import of firefoxopeneuler23.03
Diffstat (limited to 'mozilla-1669639.patch')
-rw-r--r-- | mozilla-1669639.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mozilla-1669639.patch b/mozilla-1669639.patch new file mode 100644 index 0000000..cd04aab --- /dev/null +++ b/mozilla-1669639.patch @@ -0,0 +1,14 @@ +--- firefox-81.0.1/build/mach_initialize.py.old 2020-10-06 14:16:06.212974910 +0200 ++++ firefox-81.0.1/build/mach_initialize.py 2020-10-06 14:19:03.313179557 +0200 +@@ -507,7 +507,10 @@ class ImportHook(object): + # doesn't happen or because it doesn't matter). + if not os.path.exists(module.__file__[:-1]): + if os.path.exists(module.__file__): +- os.remove(module.__file__) ++ try: ++ os.remove(module.__file__) ++ except: ++ pass + del sys.modules[module.__name__] + module = self(name, globals, locals, fromlist, level) + |