mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
Merge pull request #25978 from chrisdecker1201/patch-1
Make a python3 example and not a python2 example.
This commit is contained in:
1 file changed
+1
-1
@@ -139,5 +139,5 @@ reader = systemd.journal.Reader()
|
||||
reader.add_match('CONTAINER_NAME=web')
|
||||
|
||||
for msg in reader:
|
||||
print '{CONTAINER_ID_FULL}: {MESSAGE}'.format(**msg)
|
||||
print('{CONTAINER_ID_FULL}: {MESSAGE}'.format(**msg))
|
||||
```
|
||||
Reference in new issue
Block a user