File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Requirements
3939
4040Patchwork requires reasonably recent versions of:
4141
42- - Python (2 or 3)
42+ - Python 3
4343
4444- Django
4545
Original file line number Diff line number Diff line change @@ -44,9 +44,7 @@ Requirements
4444For the purpose of this guide, we will assume an **Ubuntu 18.04 ** host:
4545commands, package names and/or package versions will likely change if using a
4646different distro or release. Similarly, usage of different package versions to
47- the ones suggested may require slightly different configuration. For example,
48- this guide describes configuration with **Python 3 ** and using Python 2 will
49- require different packages and some minor changes to configuration files.
47+ the ones suggested may require slightly different configuration.
5048
5149Before beginning, you should update and restart this system:
5250
Original file line number Diff line number Diff line change @@ -765,11 +765,7 @@ def clean_content(content):
765765 """Remove cruft from the email message.
766766
767767 Catch signature (-- ) and list footer (_____) cruft.
768-
769- Change to Unix line endings (the Python 3 email module does this for us,
770- but not Python 2).
771768 """
772- content = content .replace ('\r \n ' , '\n ' )
773769 sig_re = re .compile (r'^(-- |_+)\n.*' , re .S | re .M )
774770 content = sig_re .sub ('' , content )
775771
You can’t perform that action at this time.
0 commit comments