~cjwatson/launchpad-buildd/snapcraft

« back to all changes in this revision

Viewing changes to lpbuildd/debian.py

  • Committer: William Grant
  • Date: 2015-05-12 10:52:53 UTC
  • mfrom: (142.2.4 cut-down-config)
  • Revision ID: william.grant@canonical.com-20150512105253-feadu40mmm4dl3hx
[r=cjwatson] Drop pointless binary paths from the config file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
    def __init__(self, slave, buildid, **kwargs):
35
35
        BuildManager.__init__(self, slave, buildid, **kwargs)
36
 
        self._updatepath = slave._config.get("debianmanager", "updatepath")
37
 
        self._sourcespath = slave._config.get("debianmanager", "sourcespath")
38
 
        self._cachepath = slave._config.get("slave","filecache")
 
36
        self._updatepath = os.path.join(self._slavebin, "update-debian-chroot")
 
37
        self._sourcespath = os.path.join(
 
38
            self._slavebin, "override-sources-list")
 
39
        self._cachepath = slave._config.get("slave", "filecache")
39
40
        self._state = DebianBuildState.INIT
40
41
        slave.emptyLog()
41
42
        self.alreadyfailed = False