Skip to content

Commit 3d9dab9

Browse files
committed
Travis CI: Remove unnecessary Python f-strings
These f-strings are not necessary and are breaking Travis CI jobs. https://travis-ci.org/github/eclipse/paho.mqtt.python/pull_requests Signed-off-by: Christian Clauss <cclauss@me.com>
1 parent 225ab37 commit 3d9dab9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/loop_trio.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def on_socket_register_write(self, client, userdata, sock):
4747
self._event_large_write.set()
4848

4949
def on_socket_unregister_write(self, client, userdata, sock):
50-
print(f"finished large write")
50+
print("finished large write")
5151
self._event_large_write = trio.Event()
5252

5353

@@ -60,12 +60,12 @@ def on_message(self, client, userdata, msg):
6060
print("Got response with {} bytes".format(len(msg.payload)))
6161

6262
def on_disconnect(self, client, userdata, rc):
63-
print(f'Disconnect result {rc}')
63+
print('Disconnect result {}'.format(rc))
6464

6565
async def test_write(self, cancel_scope: trio.CancelScope):
6666
for c in range(3):
6767
await trio.sleep(5)
68-
print(f"Publishing")
68+
print("Publishing")
6969
self.client.publish(topic, b'Hello' * 40000, qos=1)
7070
cancel_scope.cancel()
7171

0 commit comments

Comments
 (0)