~nomed/bzr-builddeb/nomed

« back to all changes in this revision

Viewing changes to properties.py

  • Committer: Daniele Favara
  • Date: 2007-03-03 23:04:20 UTC
  • Revision ID: nomed@dsslive.org-20070303230420-bh6wdm6t9r8u606e
allow 'move_result' when 'source' is True

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
class BuildProperties(object):
23
23
  """Properties of this specific build"""
24
24
 
25
 
  def __init__(self, changelog, build_dir, tarball_dir, larstiq):
 
25
  def __init__(self, changelog, build_dir, tarball_dir, larstiq, source=False):
26
26
    self._changelog = changelog
27
27
    self._build_dir = build_dir
28
28
    self._tarball_dir = tarball_dir
29
29
    self._larstiq = larstiq
 
30
    self._source = source
30
31
  
31
32
  def package(self):
32
33
    return self._changelog.package
56
57
  def larstiq(self):
57
58
    return self._larstiq
58
59
 
 
60
  def source(self):
 
61
    return self._source
 
62
 
 
63
  
 
64