Skip to content
Snippets Groups Projects
Commit 39985b16 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

It's already a text-mode FilePath, right?

TempDir.join(unicode) returns unicode
TempDir.join(bytes) raises an Exception
FilePath(unicode) produces a text-mode FilePath
StorageServer.__init__ raises an exception if passed bytes

So we can just rely on self.tempdir.path being the correct type already and
even if it weren't StorageServer would immediately tell us.
parent 67072baa
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment