Changeset 2477261 in trunk


Ignore:
Timestamp:
2020-08-07T18:13:20Z (5 years ago)
Author:
Itamar Turner-Trauring <itamar@…>
Branches:
master
Children:
6726c6e
Parents:
0a2b797
Message:

Bytes not strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/allmydata/interfaces.py

    r0a2b797 r2477261  
    8888
    8989
    90 TestVector = ListOf(TupleOf(Offset, ReadSize, str, str))
     90TestVector = ListOf(TupleOf(Offset, ReadSize, bytes, bytes))
    9191# elements are (offset, length, operator, specimen)
    9292# operator is one of "lt, le, eq, ne, ge, gt"
     
    112112        Return a dictionary of version information.
    113113        """
    114         return DictOf(str, Any())
     114        return DictOf(bytes, Any())
    115115
    116116    def allocate_buckets(storage_index=StorageIndex,
Note: See TracChangeset for help on using the changeset viewer.