scrapy / scrapy
Showing 1 of 1 files from the diff.

@@ -144,7 +144,7 @@
Loading
144 144
        if not self.encoding:
145 145
            self.encoding = 'utf-8'
146 146
        self.xg = XMLGenerator(file, encoding=self.encoding)
147 -
        self.file = self.xg
147 +
        self.file = file
148 148
149 149
    def _beautify_newline(self, new_item=False):
150 150
        if self.indent is not None and (self.indent > 0 or new_item):
@@ -210,7 +210,7 @@
Loading
210 210
            errors=errors,
211 211
        )
212 212
        self.csv_writer = csv.writer(self.stream, **self._kwargs)
213 -
        self.file = self.csv_writer
213 +
        self.file = file
214 214
        self._headers_not_written = True
215 215
        self._join_multivalued = join_multivalued
216 216
Files Coverage
scrapy 88.67%
Project Totals (164 files) 88.67%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading