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)
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>

No differences found