diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-03 15:28:10 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2014-09-03 17:22:38 +0100 |
commit | 3a53f4002a7421db4aa4f49cd8e7e9f281a8ad8d (patch) | |
tree | 24d6bd136a53b2dadef13a098bc8745227160bc3 /deluge/tests/test_torrent.py | |
parent | 1e6c811768992f4b46ba2e1da335cb966bb93f45 (diff) | |
download | deluge-3a53f4002a7421db4aa4f49cd8e7e9f281a8ad8d.tar.gz deluge-3a53f4002a7421db4aa4f49cd8e7e9f281a8ad8d.tar.bz2 deluge-3a53f4002a7421db4aa4f49cd8e7e9f281a8ad8d.zip |
[Python-Modernize] libmodernize.fixes.fix_print
* Replaces print with print()
Diffstat (limited to 'deluge/tests/test_torrent.py')
-rw-r--r-- | deluge/tests/test_torrent.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deluge/tests/test_torrent.py b/deluge/tests/test_torrent.py index 2e7f11b7c..f029eaf08 100644 --- a/deluge/tests/test_torrent.py +++ b/deluge/tests/test_torrent.py @@ -1,3 +1,4 @@ +from __future__ import print_function from twisted.trial import unittest import os @@ -61,10 +62,10 @@ class TorrentTestCase(unittest.TestCase): tmp = '' for i, p in enumerate(priorities): if i % 100 == 0: - print tmp + print(tmp) tmp = '' tmp += "%s" % p - print tmp + print(tmp) def get_torrent_atp(self, filename): filename = os.path.join(os.path.dirname(__file__), filename) |