Remove redundant print

In b0bc25e I turned the print statement into the print function. Upon
further thought, print isn't needed at all because the exception that is
raised immediately after serves the same purpose.