From de3d07cfb3fbe467076de713b17e4cd7b44bcff7 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 21 May 2018 17:35:55 +0100 Subject: [PATCH] utils/split-pieces (QfConvert): Construct an instance of the right class. Of course, `QfConvert' is always the right class at the moment, but it's the principle of the thing. --- utils/split-pieces | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/split-pieces b/utils/split-pieces index 1c793156..a98cca52 100755 --- a/utils/split-pieces +++ b/utils/split-pieces @@ -45,7 +45,7 @@ class QfConvert (object): else: seq = map(int, arg.split(',')) print ";; piece widths = %r" % seq - return QfConvert(p, seq) + return cls(p, seq) def hack(me, n): if 2*n >= me.p: n -= p nn = [] -- 2.11.0