Skip to content

Commit

Permalink
Add missing future imports for print_function
Browse files Browse the repository at this point in the history
There are some places where `print()` is used to print a blank line.
However, unless the future feature `print_function` is imported,
that will print `()` in Python 2.
  • Loading branch information
nyuszika7h committed Jun 12, 2015
1 parent 8b40124 commit 9f059b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/Math/test.py
Expand Up @@ -28,6 +28,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###

from __future__ import print_function

from supybot.test import *

class MathTestCase(PluginTestCase):
Expand Down
2 changes: 2 additions & 0 deletions plugins/News/test.py
Expand Up @@ -27,6 +27,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###

from __future__ import print_function

import time

from supybot.test import *
Expand Down
2 changes: 2 additions & 0 deletions scripts/supybot-plugin-create
Expand Up @@ -30,6 +30,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###

from __future__ import print_function

import supybot

import os
Expand Down
2 changes: 2 additions & 0 deletions scripts/supybot-wizard
Expand Up @@ -30,6 +30,8 @@
# POSSIBILITY OF SUCH DAMAGE.
###

from __future__ import print_function

import os
import sys

Expand Down

0 comments on commit 9f059b9

Please sign in to comment.