]>
gitweb.pimeys.fr Git - scripts-20-100.git/blob - ftp/percent_decode.py
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: