aboutsummaryrefslogtreecommitdiff
path: root/scripts/readserial.py
diff options
context:
space:
mode:
authorJohannes Krampf <johannes.krampf@googlemail.com>2014-01-12 11:14:54 -0500
committerKevin O'Connor <kevin@koconnor.net>2014-01-20 12:42:43 -0500
commit064fd069ef88aebe0fdf9850dc35bcffcb616763 (patch)
treefbe4c723b603af0811d18f5dd4b71151e3f92cca /scripts/readserial.py
parent24ef4fd0d25d5133ced303eb225eceb08549081f (diff)
downloadseabios-hppa-064fd069ef88aebe0fdf9850dc35bcffcb616763.zip
seabios-hppa-064fd069ef88aebe0fdf9850dc35bcffcb616763.tar.gz
seabios-hppa-064fd069ef88aebe0fdf9850dc35bcffcb616763.tar.bz2
build: Make print statements in scripts python3 compatible.
Signed-off-by: Johannes Krampf <johannes.krampf@googlemail.com>
Diffstat (limited to 'scripts/readserial.py')
-rwxr-xr-xscripts/readserial.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/readserial.py b/scripts/readserial.py
index d85392e..5b40fdc 100755
--- a/scripts/readserial.py
+++ b/scripts/readserial.py
@@ -156,11 +156,11 @@ def main():
try:
import serial
except ImportError:
- print """
+ print("""
Unable to find pyserial package ( http://pyserial.sourceforge.net/ ).
On Linux machines try: yum install pyserial
Or: apt-get install python-serial
-"""
+""")
sys.exit(1)
ser = serial.Serial(serialport, baud, timeout=0)
else: