http://hg.code.sf.net:8000/p/roundup/code/atom-log/tip/scripts/imapServer.py Mercurial Repository: p/roundup/code: scripts/imapServer.py history 2026-04-08T21:39:40-04:00 chore: remove __future print_funcion from code. http://hg.code.sf.net:8000/p/roundup/code/#changeset-9c3ec0a5c7fc88acb8a65632ecc13b2d52380314 John Rouillard rouilj@ieee.org 2026-04-08T21:39:40-04:00 2026-04-08T21:39:40-04:00
changeset 9c3ec0a5c7fc
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description chore: remove __future print_funcion from code.

Not needed as of Python 3.
files
fix: replace except: with except Exception: (by haosenwang1018@github) http://hg.code.sf.net:8000/p/roundup/code/#changeset-fed0f839c26062bca99304a0198a17cf21554915 John Rouillard rouilj@ieee.org 2026-02-26T09:46:02-05:00 2026-02-26T09:46:02-05:00
changeset fed0f839c260
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description fix: replace except: with except Exception: (by haosenwang1018@github)

Remove bare 'except:' statements replace with 'except Exception'.

In roundup_xmlrpc_server.py I changed Exception to BaseException so
the database gets closed on signals as well. The rest of the changes
do not look like they affect data integrity and are commited as
supplied.
files
issue2551195: port scripts to argparse http://hg.code.sf.net:8000/p/roundup/code/#changeset-b5fffd2a64afb8d1df0abfe7655754b1fcf49110 Ralf Schlatterbeck rsc@runtux.com 2022-11-22T14:29:42+01:00 2022-11-22T14:29:42+01:00
changeset b5fffd2a64af
branch
bookmark
tag
user Ralf Schlatterbeck <rsc@runtux.com>
description issue2551195: port scripts to argparse
files
Python 3 preparation: replace raw_input uses. http://hg.code.sf.net:8000/p/roundup/code/#changeset-4cf48ff01e048774ed1f762dcfc8935dbb11faa9 Joseph Myers jsm@polyomino.org.uk 2018-07-24T23:47:10+00:00 2018-07-24T23:47:10+00:00
changeset 4cf48ff01e04
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: replace raw_input uses.

The existing my_input in roundup/admin.py is moved to a new
roundup/anypy/my_input.py, which is then used in more places. Manual
patch.
files
Python 3 preparation: change "x.has_key(y)" to "y in x". http://hg.code.sf.net:8000/p/roundup/code/#changeset-0942fe89e82e3e84d95a3d0ca5d8d15502f57348 Joseph Myers jsm@polyomino.org.uk 2018-07-24T22:08:17+00:00 2018-07-24T22:08:17+00:00
changeset 0942fe89e82e
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: change "x.has_key(y)" to "y in x".

(Also likewise "not in" where appropriate.) Tool-generated patch.
files
Python 3 preparation: "raise" syntax. http://hg.code.sf.net:8000/p/roundup/code/#changeset-35ea9b1efc1494f29fb07690e7087686de58e0f3 Joseph Myers jsm@polyomino.org.uk 2018-07-24T21:39:58+00:00 2018-07-24T21:39:58+00:00
changeset 35ea9b1efc14
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: "raise" syntax.

Changing "raise Exception, value" to "raise Exception(value)".
Tool-assisted patch. Particular cases to check carefully are the one
place in frontends/ZRoundup/ZRoundup.py where a string exception
needed to be fixed, and the one in roundup/cgi/client.py involving
raising an exception with a traceback (requires three-argument form of
raise in Python 2, which as I understand it requires exec() to avoid a
Python 3 syntax error).
files
Python 3 preparation: convert print to a function. http://hg.code.sf.net:8000/p/roundup/code/#changeset-64b05e24dbd889f52bf8f773d3456bd0135baa27 Joseph Myers jsm@polyomino.org.uk 2018-07-24T09:54:52+00:00 2018-07-24T09:54:52+00:00
changeset 64b05e24dbd8
branch
bookmark
tag
user Joseph Myers <jsm@polyomino.org.uk>
description Python 3 preparation: convert print to a function.

Tool-assisted patch. It is possible that some "from __future__ import
print_function" are not in fact needed, if a file only uses print()
with a single string as an argument and so would work fine in Python 2
without that import.
files
issue2550776: fix missing intialization http://hg.code.sf.net:8000/p/roundup/code/#changeset-939dce88cfc2634b0f4daaf49b47ce961d1bcd15 John Rouillard rouilj@ieee.org 2016-07-10T21:53:44-04:00 2016-07-10T21:53:44-04:00
changeset 939dce88cfc2
branch
bookmark
tag
user John Rouillard <rouilj@ieee.org>
description issue2550776: fix missing intialization
files
- more logger fixes, sorry for the noise. http://hg.code.sf.net:8000/p/roundup/code/#changeset-67bef70ab9b956f0af82e6eff9a743fd5d84187c Ralf Schlatterbeck schlatterbeck@users.sourceforge.net 2010-09-17T06:47:58+00:00 2010-09-17T06:47:58+00:00
changeset 67bef70ab9b9
branch
bookmark
tag
user Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net>
description - more logger fixes, sorry for the noise.
files
umask is now configurable (with the same 0002 default) http://hg.code.sf.net:8000/p/roundup/code/#changeset-f2fda3e6fc8b1e5780dfc671c3ff0ddd7094d70c Richard Jones richard@users.sourceforge.net 2006-04-27T04:59:37+00:00 2006-04-27T04:59:37+00:00
changeset f2fda3e6fc8b
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description umask is now configurable (with the same 0002 default)
files
reformat http://hg.code.sf.net:8000/p/roundup/code/#changeset-eddcfee2cc19d92e285c55655a4da1ac42f76aa0 Alexander Smishlajev a1s@users.sourceforge.net 2005-02-18T12:31:47+00:00 2005-02-18T12:31:47+00:00
changeset eddcfee2cc19
branch
bookmark
tag
user Alexander Smishlajev <a1s@users.sourceforge.net>
description reformat
files
added "imapServer.py" script (patch [SF#934567]) http://hg.code.sf.net:8000/p/roundup/code/#changeset-18ad9d702a5bd393d055757753de9253b1c96b3b Richard Jones richard@users.sourceforge.net 2005-02-14T06:09:14+00:00 2005-02-14T06:09:14+00:00
changeset 18ad9d702a5b
branch
bookmark
tag
user Richard Jones <richard@users.sourceforge.net>
description added "imapServer.py" script (patch [SF#934567])
files