changeset 1512:1e9cfec1be78

don't require first arg on PatchedGraph.serialize Ignore-this: bc695823e03dbd012e03efa4e40b6aca darcs-hash:1dbf9271b5ca55c78987c474ef223af9d5b811d2
author drewp <drewp@bigasterisk.com>
date Mon, 03 Feb 2020 23:46:29 -0800
parents 9733063421e1
children c829df2b0dd5
files lib/patchablegraph/patchablegraph.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/patchablegraph/patchablegraph.py	Mon Feb 03 23:45:15 2020 -0800
+++ b/lib/patchablegraph/patchablegraph.py	Mon Feb 03 23:46:29 2020 -0800
@@ -100,9 +100,9 @@
         scales.init(self, '/patchableGraph%s' % next(_graphsInProcess))
 
     _serialize = scales.PmfStat('serialize')
-    def serialize(self, to, **kw):
+    def serialize(self, *arg, **kw):
         with self._serialize.time():
-            return self._graph.serialize(to, **kw)
+            return self._graph.serialize(*arg, **kw)
 
     _patch = scales.PmfStat('patch')
     _len = scales.IntStat('statementCount')