[Patchew-devel] [PATCH 2/2] model: fixed variable name

cic shubhamjain7495 at gmail.com
Fri Jun 1 03:54:39 UTC 2018


From: Shubham <shubhamjain7495 at gmail.com>

fixed variable name from s to series in series_update()
---
 api/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/models.py b/api/models.py
index e3585e4..b4f8468 100644
--- a/api/models.py
+++ b/api/models.py
@@ -193,7 +193,7 @@ class Project(models.Model):
             s = mo.get_series_head()
             if s:
                 updated_series.append(s)
-        for s in updated_series:
+        for series in updated_series:
             for p in series.get_patches():
                 if not p.is_merged:
                     break
-- 
1.9.1




More information about the Patchew-devel mailing list