Change on diff options so it works on the new dev (maybe this is due to the migration...
authorJoão Pedro Athayde Marcondes de André <jp_git@polytechnique.org>
Wed, 10 Feb 2010 23:00:11 +0000 (00:00 +0100)
committerJoão Pedro Athayde Marcondes de André <jp_git@polytechnique.org>
Wed, 10 Feb 2010 23:00:11 +0000 (00:00 +0100)
bin/check_security_fixes.py

index 774d068..96925fe 100755 (executable)
@@ -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]