]>
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>"
21 l
= sys
.stdin
.readline()
24 if "--color" in sys
.argv
:
25 l
= l
.replace('"PUT ', '"%sPUT%s ' % (red
, nocolor
))
27 except KeyboardInterrupt: