replaced print statements with warnings

--HG--
extra : transplant_source : %BB%23%D1%04%92tu%9F%FB%BC%5B%D7m%FC%FD%7E%D2Y%CC%83