chiark / gitweb /
make-secnet-sites: Replace string.atol with int()
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Oct 2019 18:00:42 +0000 (19:00 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 24 Oct 2019 18:16:16 +0000 (19:16 +0100)
commit2324082ad280c9086fd93c4f43c092624fbc3474
treeba052fd78cd2e108ca59ce6e15205a632f2726b9
parent7a743f6a0571fb899e661cf492d635ad27159e6f
make-secnet-sites: Replace string.atol with int()

string.atol retured a long, I assume.  In python2, longs and ints are
distinct.  We could use long() here.  But that is not available in
python3.  Instead, write the python3 version already: just int.  We
can get an `int' that always produces longs from the python-future
module.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
INSTALL
debian/control
make-secnet-sites