[Reproducible-commits] [debbindiff] 01/01: Remove limit of diff output again
Reiner Herrmann
deki-guest at moszumanska.debian.org
Thu May 7 17:07:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
deki-guest pushed a commit to branch master
in repository debbindiff.
commit 1f1c0812564bc8aceb48be300f78ec4e503ea2af
Author: Reiner Herrmann <reiner at reiner-h.de>
Date: Thu May 7 19:04:38 2015 +0200
Remove limit of diff output again
---
debbindiff/difference.py | 6 ------
1 file changed, 6 deletions(-)
diff --git a/debbindiff/difference.py b/debbindiff/difference.py
index 845cf58..60e552f 100644
--- a/debbindiff/difference.py
+++ b/debbindiff/difference.py
@@ -32,7 +32,6 @@ from debbindiff import logger, tool_required, RequiredToolNotFound
MAX_DIFF_BLOCK_LINES = 50
-MAX_DIFF_LINES = 10000
MAX_DIFF_INPUT_LINES = 100000 # GNU diff cannot process arbitrary large files :(
@@ -46,7 +45,6 @@ class DiffParser(object):
self._action = self.read_headers
self._diff = ''
self._success = False
- self._line_count = 0
self._remaining_hunk_lines = None
self._block_len = None
self._direction = None
@@ -62,10 +60,6 @@ class DiffParser(object):
def parse(self):
for line in iter(self._output.readline, b''):
- self._line_count += 1
- if self._line_count >= MAX_DIFF_LINES:
- self._diff += '\n[ Processing stopped after %d lines. ]' % self._line_count
- break
self._action = self._action(line.decode('utf-8'))
self._success = True
self._output.close()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git
More information about the Reproducible-commits
mailing list