dev-python/twisted: Clean old versions up

This commit is contained in:
Michał Górny
2017-05-03 09:49:27 +02:00
parent 54169befd8
commit f82d9d8f77
5 changed files with 0 additions and 446 deletions

View File

@@ -1,11 +0,0 @@
--- twisted/plugin.py
+++ twisted/plugin.py
@@ -174,7 +174,7 @@
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: