pre-upload: fix output of hook indexes

This CL modifies the output of hook indexes to start at 1, instead of 0,
in order to be consistent with the output of commit indexes.

BUG=None
TEST=`repo upload` shows correct hook indexes.

Change-Id: I76107b8d862fe23962fa7c4f5e588a5bada2b928
Reviewed-on: https://chromium-review.googlesource.com/1807442
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
Commit-Ready: Ben Chan <benchan@google.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/pre-upload.py b/pre-upload.py
index 27059b4..d20381c 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -1983,7 +1983,7 @@
     error_list = []
     for h, hook in enumerate(hooks):
       output = ('PRESUBMIT.cfg: [%i/%i]: %s: Running [%i/%i] %s' %
-                (i + 1, commit_count, commit, h, hook_count, hook.__name__))
+                (i + 1, commit_count, commit, h + 1, hook_count, hook.__name__))
       print(output, end='\r')
       sys.stdout.flush()
       hook_error = hook(project, commit)