mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-02 20:48:53 +00:00
Remove another future import.
This commit is contained in:
parent
6c48698f28
commit
a9015cdb5b
@ -2,8 +2,6 @@
|
||||
Ported to Python 3.
|
||||
"""
|
||||
|
||||
from future.utils import bchr
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
@ -25,6 +23,9 @@ from ..util.assertutil import precondition
|
||||
from ..scripts import runner
|
||||
from allmydata.util.encodingutil import unicode_platform, get_filesystem_encoding, argv_type, unicode_to_argv
|
||||
|
||||
def bchr(s):
|
||||
return bytes([s])
|
||||
|
||||
|
||||
def skip_if_cannot_represent_filename(u):
|
||||
precondition(isinstance(u, str))
|
||||
|
Loading…
x
Reference in New Issue
Block a user