diff roundup/configuration.py @ 5386:fc97f1f4a7e3

Python 3 preparation: use sys.maxsize instead of sys.maxint. Tool-generated patch.
author Joseph Myers <jsm@polyomino.org.uk>
date Tue, 24 Jul 2018 22:20:20 +0000
parents 6fbb7d52e38f
children 23b8e6067f7c
line wrap: on
line diff
--- a/roundup/configuration.py	Tue Jul 24 22:18:30 2018 +0000
+++ b/roundup/configuration.py	Tue Jul 24 22:20:20 2018 +0000
@@ -1112,7 +1112,7 @@
             "\"multiple\" then a separate email is sent to each\n"
             "recipient. If \"single\" then a single email is sent with\n"
             "each recipient as a CC address."),
-        (IntegerNumberOption, "max_attachment_size", sys.maxint,
+        (IntegerNumberOption, "max_attachment_size", sys.maxsize,
             "Attachments larger than the given number of bytes\n"
             "won't be attached to nosy mails. They will be replaced by\n"
             "a link to the tracker's download page for the file.")

Roundup Issue Tracker: http://roundup-tracker.org/