Commit 74b46135 authored by Joanmarie Diggs's avatar Joanmarie Diggs

Make documentFrame an optional argument to dumpCache()

parent 5ad5e62d
......@@ -127,7 +127,7 @@ class Utilities(script_utilities.Utilities):
for key in toRemove:
self._caretContexts.pop(key, None)
def dumpCache(self, documentFrame, preserveContext=True):
def dumpCache(self, documentFrame=None, preserveContext=True):
if not documentFrame or self.isZombie(documentFrame):
documentFrame = self.documentFrame()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment