summaryrefslogtreecommitdiffstats
path: root/color.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-04-16 08:00:42 -0700
committerShawn O. Pearce <sop@google.com>2009-04-16 08:05:05 -0700
commitb1168ffadaff387a8b7ab9a9c861073035c505a8 (patch)
tree8a922e173391861b2426c9700d9caa5765666249 /color.py
parent4c5c7aa74b2dec2cbfb6b6bd7e24d5922e92c112 (diff)
downloadgit-repo-b1168ffadaff387a8b7ab9a9c861073035c505a8.tar.gz
Don't divide by zero in progress meter
If there are no projects to fetch, the progress meter would have divided by zero during `repo sync`, and that throws a ZeroDivisionError. Instead we report the progress with an unknown amount remaining. Signed-off-by: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'color.py')
0 files changed, 0 insertions, 0 deletions