Package: ubuntu-dev-tools Version: 0.101 Severity: normal
host_architecture() uses os.uname() to determine host architecture. However, uname() returns a "machine hardware name", which can be something quite different, e.g.:
$ dpkg --print-architecture hppa $ python -c 'from ubuntutools.misc import host_architecture; print host_architecture()' parisc64Most importantly, host_architecture() returns the wrong thing for an i386 system with amd64 kernel:
$ dpkg --print-architecture i386 $ python -c 'from ubuntutools.misc import host_architecture; print host_architecture()' amd64 -- Jakub Wilk
signature.asc
Description: Digital signature