aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--b4/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index edd6c0c..b8d5b7d 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -493,7 +493,7 @@ class LoreSeries:
logger.critical('WARNING: Unable to add your Signed-off-by: git returned no user.name or user.email')
addmysob = False
- attdata = [(None, None)] * self.expected
+ attdata = [(None, None)] * len(self.patches[1:])
attpolicy = config['attestation-policy']
if config['attestation-checkmarks'] == 'fancy':