Move import after `import binascii` please. See import rules here http://mozweb.readthedocs.org/en/latest/coding.html#python