-t/--url option not working with tr.im

Bug #466480 reported by Ahmed El-Mahdawy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
surl
Fix Released
Medium
Ahmed El-Mahdawy

Bug Description

Using the -t or --url option with tr.im queries the API, but returns the same URL back:

propeng@propeng:~/Projects/Python/surl$ ./surl.py -t http://www.google.com -s tr.im
http://www.google.com

while the following returns a correct URL:

propeng@propeng:~/Projects/Python/surl$ echo "http://www.google.com" | ./surl.py -s tr.im
http://tr.im/DGWb

Changed in surl:
assignee: nobody → Propeng (aa-mahdawy)
status: New → In Progress
Revision history for this message
Ahmed El-Mahdawy (propeng) wrote :

This is not caused by using --url instead of -t, due to a duplicate argument for --url and --title. A fix will be now commited.

Changed in surl:
status: In Progress → Fix Committed
Revision history for this message
Savvas Radevic (medigeek) wrote :

released in 0.6!

Changed in surl:
importance: Undecided → Medium
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.