Package: python-pyvcf / 0.6.8+git20170215.476169c-9

quitechar.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: Mon, 14 Nov 2022 13:54:52 +0100
Bug-Debian: https://bugs.debian.org/1024063
Description: Fix 'TypeError: "quotechar" must be a 1-character string'

--- a/vcf/parser.py
+++ b/vcf/parser.py
@@ -646,7 +646,7 @@ class Writer(object):
     def __init__(self, stream, template, lineterminator="\n"):
         self.writer = csv.writer(stream, delimiter="\t",
                                  lineterminator=lineterminator,
-                                 quotechar='', quoting=csv.QUOTE_NONE)
+                                 quoting=csv.QUOTE_NONE)
         self.template = template
         self.stream = stream