* Adrian Mariano <rad...@cox.net>, 2018-07-23, 20:22:
I had sort of figured that getting bogus price data was a more serious error than having extra or missing currencies, so I had made that error message unconditional.

Good call.

   stderr.write('Got unknown metal "{}" with value "{}"\n',metal,price)

This would fail with:

  TypeError: function takes exactly 1 argument (3 given)

I think you wanted to use the format() method here. :-)

Other than that, it looks good to me.

--
Jakub Wilk

Reply via email to