# HG changeset patch # User Jeff Hammel # Date 1357160809 28800 # Node ID daa35ff485c2a119eb35ace21747ebfee9ff067b # Parent 85374a69cf893bdd047531a612b663880c5e3117 fixes diff -r 85374a69cf89 -r daa35ff485c2 paint/package.py --- a/paint/package.py Thu May 10 15:24:51 2012 -0700 +++ b/paint/package.py Wed Jan 02 13:06:49 2013 -0800 @@ -28,9 +28,9 @@ constructor takes the package 'src' """ - def __init__(self, src): + def __init__(self, src, verbose=True): self.src = src - self.verbose = True + self.verbose = verbose # ephemeral data self._tmppath = None diff -r 85374a69cf89 -r daa35ff485c2 tests/doctest.txt --- a/tests/doctest.txt Thu May 10 15:24:51 2012 -0700 +++ b/tests/doctest.txt Wed Jan 02 13:06:49 2013 -0800 @@ -7,7 +7,7 @@ Get the dependencies of a package:: - >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz') + >>> jetperf = paint.Package('http://k0s.org/mozilla/hg/jetperf/archive/tip.tar.gz', verbose=False) >>> dependencies = jetperf.dependencies() >>> dependencies == {'mozharness': 'http://hg.mozilla.org/build/mozharness/archive/tip.tar.gz#egg=mozharness', 'talos': 'http://hg.mozilla.org/build/talos/archive/tip.tar.gz#egg=talos'} True