- stars = ['_'.join(val).replace(' ', '_').replace("'", '_').replace('/','').replace('.','').replace(';', '').replace(':', '').replace(u'·','') for val in attrs.items()]
- stars = [''.join([u'*', val]) for val in stars]
- stars = u'**** ' + ' '.join(stars)
- self.fileout.write(stars.encode(self.encodage_out))
+ stars = ['_'.join(val).replace(' ', '_').replace("'", '_').replace('/','').replace('.','').replace(';', '').replace(':', '').replace('·','') for val in list(attrs.items())]
+ stars = [''.join(['*', val]) for val in stars]
+ stars = '**** ' + ' '.join(stars)
+ self.fileout.write(stars)