Fix off-by-one error in the number of steps to install a service

This commit is contained in:
Rob Crittenden
2008-02-28 21:57:52 -05:00
parent 6533bc1a84
commit ab86f52999

View File

@@ -130,7 +130,7 @@ class Service:
step = 0
for (message, method) in self.steps:
self.print_msg(" [%d/%d]: %s" % (step+1, len(self.steps)+1, message))
self.print_msg(" [%d/%d]: %s" % (step+1, len(self.steps), message))
method()
step += 1