Skip to content

Commit d21dc11

Browse files
author
Will Trimble
committed
python3
1 parent 213b618 commit d21dc11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: get-API-internal.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22

3+
from __future__ import print_function
34
import re
45
import sys
56
import json
@@ -22,7 +23,7 @@
2223
value = json.loads(entry["value"])
2324
ip = value["COREOS_PUBLIC_IPV4"]
2425
port = value["http"]
25-
print "http://%s:%d"%(ip, port)
26+
print("http://%s:%d"%(ip, port))
2627

2728
sys.exit(0)
2829

0 commit comments

Comments
 (0)