def _get_nightly_repo(self, date): # sneaking this in here if self.os == "win" and date < datetime.date(2010, 3, 18): # no .zip package for Windows, can't use the installer raise errors.WinTooOldBuildError() if date < datetime.date(2008, 7, 26): return "trunk" elif date < datetime.date(2009, 1, 9): return "comm-central" elif date < datetime.date(2010, 8, 21): return "comm-central-trunk" else: return "comm-central"
def _get_nightly_repo(self, date): # sneaking this in here if self.os == "win" and date < datetime.date(2010, 03, 18): # no .zip package for Windows, can't use the installer raise errors.WinTooOldBuildError()
def get_inbound_branch(self, date): # sneaking this in here if mozinfo.os == "win" and date < datetime.date(2010, 03, 18): # no .zip package for Windows, can't use the installer raise errors.WinTooOldBuildError()