File: quitechar.patch

package info (click to toggle)
python-pyvcf 0.6.8%2Bgit20170215.476169c-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,816 kB
  • sloc: python: 2,924; makefile: 124; sh: 19
file content (16 lines) | stat: -rw-r--r-- 667 bytes parent folder | 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