Commit f070f15e authored by Daniel Armbruster's avatar Daniel Armbruster Committed by thomas.forbriger
Browse files

Bug fixed. Exclude checksumfile.result

This is a legacy commit from before 2015-05-18.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 4384
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 51fd9902
......@@ -201,13 +201,13 @@ class CsFile:
if os.path.isfile(os.path.join(self.srcdir, file)))
# exclude files matching regexes
regexes.append(BASENAME+CSSUFFIX)
regexes.append(BASENAME+RESULTSUFFIX+r'\.[1-2]')
regexes.append(BASENAME+RESULTSUFFIX+r'\.[1-2]'|BASENAME+RESULTSUFFIX)
for regex in regexes:
matching = set(file for file in newFiles \
if None != re.match(regex, file))
newFiles -= matching
regexes.remove(BASENAME+CSSUFFIX)
regexes.remove(BASENAME+RESULTSUFFIX+r'\.[1-2]')
regexes.remove(BASENAME+RESULTSUFFIX+r'\.[1-2]'|BASENAME+RESULTSUFFIX)
# exclude registered files
newFiles -= registeredFiles
# generate cslines of newFiles
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment