raspberrypilearning/screaming-jellybaby — pull request #1 by raspitv (2014-03-03 17:46:45+00:00)
Title: Corrected incorrect use of GPIO.cleanup()

GPIO.cleanup() only affects ports opened by this program, hence using
it at the top does nothing. For simplicity, it’s better here just to
switch off warnings. Fuller, better explanation here
http://raspi.tv/2013/rpi-gpio-basics-3-how-to-exit-gpio-programs-cleanly
-avoid-warnings-and-protect-your-pi