diff options
Diffstat (limited to 'contrib/dg-extract-results.py')
-rw-r--r-- | contrib/dg-extract-results.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/dg-extract-results.py b/contrib/dg-extract-results.py index ed62f73226f..5bf2f87c241 100644 --- a/contrib/dg-extract-results.py +++ b/contrib/dg-extract-results.py @@ -307,8 +307,8 @@ class Prog: has_warning = 0 key = (name, len (harness.results)) harness.results.append ((key, line)) - if not first_key and sort_logs: - first_key = key + if not first_key and sort_logs: + first_key = key if line.startswith ('ERROR: (DejaGnu)'): for i in range (len (self.count_names)): if 'DejaGnu errors' in self.count_names[i]: |