From 38ab82d6d8813ed373d9bd3d5158c208c2d20100 Mon Sep 17 00:00:00 2001 From: "maruel@chromium.org" Date: Wed, 29 Aug 2012 19:34:45 +0000 Subject: [PATCH] Add outputs to apply_issue.py apply_issue.py didn't have output, making it a bit boring. Now it's super cute. R=rogerta@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/10889037 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@153948 0039d316-1c4b-4281-b951-d872f2087c98 --- apply_issue.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apply_issue.py b/apply_issue.py index 655ecb6ee..11ee9932e 100755 --- a/apply_issue.py +++ b/apply_issue.py @@ -61,11 +61,12 @@ def main(): if not options.patchset: options.patchset = obj.get_issue_properties( options.issue, False)['patchsets'][-1] - logging.info('Using patchset %d' % options.patchset) - # Download the patch. + print('No patchset specified. Using patchset %d' % options.patchset) + + print('Downloading the patch.') patchset = obj.get_patch(options.issue, options.patchset) for patch in patchset.patches: - logging.info(patch) + print(patch) scm_type = scm.determine_scm(options.root_dir) if scm_type == 'svn': scm_obj = checkout.SvnCheckout(options.root_dir, None, None, None, None)