X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=bin%2Fcheck_security_fixes.py;h=96925fe4595c35d66d8066a2ae16c939ce084b09;hb=94660e07a1ce471189edfb411d3e86e9be577220;hp=4d87c93bce4b74d1194fca2211755c7979d265a5;hpb=d1e6167749fdad08c81e23d09e1bbbf76e3b989b;p=platal.git diff --git a/bin/check_security_fixes.py b/bin/check_security_fixes.py index 4d87c93..96925fe 100755 --- a/bin/check_security_fixes.py +++ b/bin/check_security_fixes.py @@ -1,6 +1,6 @@ #!/usr/bin/env python #*************************************************************************** -#* Copyright (C) 2003-2009 Polytechnique.org * +#* Copyright (C) 2003-2010 Polytechnique.org * #* http://opensource.polytechnique.org/ * #* * #* This program is free software; you can redistribute it and/or modify * @@ -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]