]> arthur.barton.de Git - bup.git/commit
compat: add range and use it in the vfs
authorRob Browning <rlb@defaultvalue.org>
Sat, 31 Mar 2018 21:42:53 +0000 (16:42 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 31 Mar 2018 22:14:33 +0000 (17:14 -0500)
commit217eb3b7cc793f678e533993025d3be6747fe3e9
tree99b6dd8017e3a1178eb17d0aacec5677ef6762c3
parent2d80faa85ff4b52b1c370ab2c8d1812cbd5927b9
compat: add range and use it in the vfs

Define range as range for py3 and xrange for py2, so that we'll have
the same semantics both places.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/compat.py
lib/bup/vfs.py