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
Merge pull request #40 from akabos/master

replaced print statements with warnings