FYI, while single line compound statements are not not strictly verboten under PEP8, they are filed under "Rather Not".  No need to change this here, but just know for the future.  :)