Commit 80be99f
committed
Fix file write under Python 2 in xmp.py
I broke it with my locking fixes, apparently I only tested reading under
Python 2. (In Python 3 file.write returns the length, so I thought that
was true in Python 2 as well.) Sorry.1 parent 4eb0742 commit 80be99f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
| 194 | + | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
| |||
0 commit comments