diff --git a/fetch.py b/fetch.py index 067d4c61ab..35e05d31f5 100755 --- a/fetch.py +++ b/fetch.py @@ -62,7 +62,7 @@ class Checkout(object): def run(self, cmd, **kwargs): print 'Running: %s' % (' '.join(pipes.quote(x) for x in cmd)) if self.options.dry_run: - return 0 + return '' return subprocess.check_output(cmd, **kwargs)