0001-misc-only-consider-parts-with-actual-contents-in-his.patch
wcs/formdata.py | ||
---|---|---|
177 | 177 |
for p in self.parts: |
178 | 178 |
if not hasattr(p, 'view'): |
179 | 179 |
continue |
180 |
l.append(p.view()) |
|
180 |
text = p.view() |
|
181 |
if text: |
|
182 |
l.append(text) |
|
181 | 183 |
self._display_parts = l |
182 | 184 |
return self._display_parts |
183 | 185 | |
184 |
- |