import sys
from bup import git, options
-from bup.compat import argv_bytes, int_types
+from bup.compat import argv_bytes
from bup.gc import bup_gc
from bup.helpers import die_if_errors, log, partition, period_as_secs
from bup.io import byte_stream
o.fatal('refusing to run dangerous, experimental command without --unsafe')
now = int(time()) if opt.wrt is None else opt.wrt
- if not isinstance(now, int_types):
+ if not isinstance(now, int):
o.fatal('--wrt value ' + str(now) + ' is not an integer')
period_start = {}
add_ex_tb,
environ,
fsdecode,
- int_types,
wrap_main
)
from bup.compat import add_ex_tb, add_ex_ctx, wrap_main
"""
global sep_rx
- assert all(isinstance(x, int_types) for x in srcs)
+ assert all(isinstance(x, int) for x in srcs)
assert len(srcs) == len(dests)
srcs = tuple(srcs)
dest_for = dict(zip(srcs, dests))