Mercurial > code > home > repos > homeauto
changeset 711:e404420a2343
don't require first arg on PatchedGraph.serialize
Ignore-this: bc695823e03dbd012e03efa4e40b6aca
author | drewp@bigasterisk.com |
---|---|
date | Mon, 03 Feb 2020 23:46:29 -0800 |
parents | 94610b5263e4 |
children | d98c3ffe7144 |
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')