def write_component(source):
 with open(ICONSET_OUTPUT, 'w') as outp:
  print ('Writing icons to', ICONSET_OUTPUT)
  outp.write(source)
 with gzip.open(ICONSET_OUTPUT_GZ, 'wb') as outp:
  print ('Writing icons gz to', ICONSET_OUTPUT_GZ)
  outp.write(source.encode('utf-8'))

def write_component ( source ) : with open ( ICONSET_OUTPUT , 'w' ) as outp : print ( 'Writing icons to' , ICONSET_OUTPUT ) outp . write ( source ) with gzip . open ( ICONSET_OUTPUT_GZ , 'wb' ) as outp : print ( 'Writing icons gz to' , ICONSET_OUTPUT_GZ ) outp . write ( source . encode ( 'utf-8' ) )
write component .