in mozdownload/scraper.py [0:0]
def build_filename(self, binary):
"""Return the proposed filename with extension for the binary."""
return '%(REVISION)s%(DEBUG)s-%(NAME)s' % {
'REVISION': self.revision,
'DEBUG': '-debug' if self.debug_build else '',
'NAME': binary}