We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3850fe2 + 3559272 commit feb88f8Copy full SHA for feb88f8
ttp/utils.py
@@ -1,7 +1,7 @@
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
"""Unwind short-links e.g. bit.ly, t.co etc to their canonical links"""
4
-from __future__ import unicode_literals
+from __future__ import unicode_literals, print_function
5
import requests
6
7
@@ -26,4 +26,4 @@ def follow_shortlinks(shortlinks):
26
27
if __name__ == "__main__":
28
shortlinks = ['http://t.co/8o0z9BbEMu', 'http://bbc.in/16dClPF']
29
- print follow_shortlinks(shortlinks)
+ print (follow_shortlinks(shortlinks))
0 commit comments