[damned-lies] Add missing break in read_variable method



commit 27e1f22cb2e64879493e2b8623ea434b7a8e3e20
Author: Claude Paroz <claude 2xlibre net>
Date:   Sun Jul 2 22:45:26 2017 +0200

    Add missing break in read_variable method

 stats/utils.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/stats/utils.py b/stats/utils.py
index 0076272..9befc15 100644
--- a/stats/utils.py
+++ b/stats/utils.py
@@ -144,6 +144,8 @@ class MakefileWrapper:
                     if match:
                         found = match.group(1)
                         break
+                if found:
+                    break
 
         # Try to expand '$(var)' variables
         if found:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]