Commit 1eaca20a authored by Damien Lespiau's avatar Damien Lespiau
Browse files

models: Print the number of patches in series.dump()

Signed-off-by: default avatarDamien Lespiau <>
parent 534e3f7e
......@@ -465,7 +465,8 @@ class Series(models.Model):
print('Series: %s' % self)
print(' version %d' % self.version)
print(' version: %d' % self.version)
print(' n_patches: %d' % self.n_patches)
for rev in self.revisions():
print(' rev %d:' % rev.version)
i = 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment