breaks down when there are spaces in directory names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
restview |
Fix Released
|
High
|
Marius Gedminas |
Bug Description
To reproduce:
mkdir -p '/tmp/testdir/dir with spaces'
cd /tmp/testdir
echo foo > 'dir with spaces/foo.txt'
restview .
and then click on 'dir with spaces/foo.txt'.
I get
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.handle()
File "/usr/lib/
self.
File "/usr/lib/
method()
File "/home/
content = self.do_
File "/home/
return self.handle_
File "/home/
self.
File "/usr/lib/
self.
File "/usr/lib/
format%args))
TypeError: not enough arguments for format string
Changed in restview: | |
status: | Confirmed → Fix Committed |
Changed in restview: | |
status: | Fix Committed → Fix Released |
Originally reported by Chris Clark via email; he provided a patch of sorts ("I've hacked it up (literally, do not accept the changes as-is!) And it now works for me.")