diff options
author | 2018-07-07 12:01:15 -0700 | |
---|---|---|
committer | 2018-07-07 12:02:07 -0700 | |
commit | dea4b4c84f77aa059cf903cd4d9a9bd1b6e9695c (patch) | |
tree | 0e601b99a6e12f82094831cd7438df78e5507f52 /dev-python/twisted/files | |
parent | dev-ruby: fix manifest entries (diff) | |
download | gentoo-dea4b4c84f77aa059cf903cd4d9a9bd1b6e9695c.tar.gz gentoo-dea4b4c84f77aa059cf903cd4d9a9bd1b6e9695c.tar.bz2 gentoo-dea4b4c84f77aa059cf903cd4d9a9bd1b6e9695c.zip |
dev-python/twisted: Version and eapi bump
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-python/twisted/files')
-rw-r--r-- | dev-python/twisted/files/twisted-18.4.0-Disable-writing-of-plugin-cache.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/twisted/files/twisted-18.4.0-Disable-writing-of-plugin-cache.patch b/dev-python/twisted/files/twisted-18.4.0-Disable-writing-of-plugin-cache.patch new file mode 100644 index 000000000000..318304e58df3 --- /dev/null +++ b/dev-python/twisted/files/twisted-18.4.0-Disable-writing-of-plugin-cache.patch @@ -0,0 +1,25 @@ +From cac07e9ef273b065eeebbeeaa27155c8402a36e1 Mon Sep 17 00:00:00 2001 +From: Brian Dolbec <dolsen@gentoo.org> +Date: Sat, 7 Jul 2018 11:37:23 -0700 +Subject: [PATCH] Disable writing of plugin cache + +--- + src/twisted/plugin.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/twisted/plugin.py b/src/twisted/plugin.py +index 82522ee..e5849d6 100644 +--- a/src/twisted/plugin.py ++++ b/src/twisted/plugin.py +@@ -180,7 +180,7 @@ def getCache(module): + if pluginKey not in existingKeys: + del dropinDotCache[pluginKey] + needsWrite = True +- if needsWrite: ++ if needsWrite and os.environ.get("TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE") is None: + try: + dropinPath.setContent(pickle.dumps(dropinDotCache)) + except OSError as e: +-- +libgit2 0.26.4 + |