def arch(self):
    """Return a more standard representation of the architecture."""
    if self.machine in ["x86_64", "AMD64", "i686"]:
      # 32 bit binaries running on AMD64 will still have a i386 arch.
      if self.architecture == "32bit":
        return "i386"

      return "amd64"
    elif self.machine == "x86":
      return "i386"

    return self.machine
def arch ( self ) : if self . machine in [ "x86_64" , "AMD64" , "i686" ] : if self . architecture == "32bit" : return "i386" return "amd64" elif self . machine == "x86" : return "i386" return self . machine
Return a more standard representation of the architecture.