From: João Pedro Athayde Marcondes de André Date: Wed, 10 Feb 2010 23:00:11 +0000 (+0100) Subject: Change on diff options so it works on the new dev (maybe this is due to the migration... X-Git-Tag: xorg/1.0.0~335 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=a959b199b8f4790bf311c4e9c4b96b4ffb494eeb;p=platal.git Change on diff options so it works on the new dev (maybe this is due to the migration to lenny at the same time...) --- diff --git a/bin/check_security_fixes.py b/bin/check_security_fixes.py index 774d068..96925fe 100755 --- a/bin/check_security_fixes.py +++ b/bin/check_security_fixes.py @@ -80,7 +80,7 @@ class WorkingCopy(object): ref_file = os.path.join(self.reference_path, security_file) wc_file = os.path.join(self.checkout_path, security_file) - diff = os.popen('diff -NBwu0 %s %s' % (ref_file, wc_file)) + diff = os.popen('diff -NBw -U 0 %s %s' % (ref_file, wc_file)) for line in diff.readlines(): if self.SECURITY_FIX_RE.match(line): yield line[1:-1]