Changeset 14aba8c5b16a…
Parent f63635957133…
by
Changes to one file · Browse files at 14aba8c5b16a Showing diff from parent f63635957133 Diff from another changeset...
@@ -264,9 +264,10 @@ # report status
status_text = ''
if self.has_mq():
- napp = len(self.repo.mq.applied)
nser = len(self.repo.mq.series)
- status_text = _('%s of %s Patches applied') % (napp, nser)
+ if nser:
+ napp = len(self.repo.mq.applied)
+ status_text = _('%s of %s Patches applied') % (napp, nser)
self.status_func(status_text)
def qgoto(self, patch):
|
Loading...