]>
gitweb.pimeys.fr Git - scripts-20-100.git/blob - percent_decode.py
5621e3f5ced533d2ea0e34d2429e67e8ce52431e
2 # -*- coding: utf-8 -*-
4 """Piper dedans un flux avec des %20 et autres cochonneries,
5 il ressortira lisible."""
7 __author__
= "Vincent Le Gallic <legallic@crans.org>"
26 l
= sys
.stdin
.readline()
29 if "--color" in sys
.argv
:
30 l
= l
.replace('"PUT ', '"%sPUT%s ' % (red
, nocolor
))
34 except KeyboardInterrupt: