Skip to content

Commit 1918a8c

Browse files
committed
replaced old style "print" with a new print function
1 parent b325b80 commit 1918a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publish_subscribe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def subscribe(self, msg):
4949
self.provider.subscribe(msg, self)
5050

5151
def run(self, msg):
52-
print "%s got %s" % (self.name, msg)
52+
print("{} got {}".format(self.name, msg))
5353

5454

5555
def main():

0 commit comments

Comments
 (0)