in mozdownload/scraper.py [0:0]
def detect_platform(self):
"""Detect the current platform."""
# For Mac and Linux 32bit we do not need the bits appended
if mozinfo.os == 'mac' or \
(mozinfo.os == 'linux' and mozinfo.bits == 32):
return mozinfo.os
else:
return "%s%d" % (mozinfo.os, mozinfo.bits)