diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-03-02 08:42:53 -0800 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2019-03-02 08:42:53 -0800 |
| commit | b057cdf05e4b9d20f6e1743fc9c63d32c54f1908 (patch) | |
| tree | 0028b3683bdf022bb1e0676abdca3588de5c1362 /tablib/formats/_xlsx.py | |
| parent | a10327a2833da8eee952d8b832afc33c3c55b282 (diff) | |
| download | tablib-b057cdf05e4b9d20f6e1743fc9c63d32c54f1908.tar.gz | |
Trim trailing white space throughout the project
Many editors clean up trailing white space on save. By removing it all
in one go, it helps keep future diffs cleaner by avoiding spurious white
space changes on unrelated lines.
Diffstat (limited to 'tablib/formats/_xlsx.py')
| -rw-r--r-- | tablib/formats/_xlsx.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tablib/formats/_xlsx.py b/tablib/formats/_xlsx.py index 816fd37..ebafc4f 100644 --- a/tablib/formats/_xlsx.py +++ b/tablib/formats/_xlsx.py @@ -129,7 +129,7 @@ def dset_sheet(dataset, ws, freeze_panes=True): if freeze_panes: # Export Freeze only after first Line ws.freeze_panes = 'A2' - + # bold separators elif len(row) < dataset.width: cell.value = unicode('%s' % col, errors='ignore') @@ -145,5 +145,3 @@ def dset_sheet(dataset, ws, freeze_panes=True): cell.value = unicode('%s' % col, errors='ignore') except TypeError: cell.value = unicode(col) - - |
