Added a small script to detect duplicates in the solution file

This commit is contained in:
Kenneth Skovhede
2014-08-07 00:04:11 +02:00
parent 2990974d15
commit 9655629cee
+22
View File
@@ -0,0 +1,22 @@
import re
import io
f = open('Duplicati.sln')
c = f.read()
f.close()
p = re.compile(r"\{[0-9a-fA-F\-]*\}")
tags = p.findall(c)
d = {}
for n in tags:
d[n] = 0
for n in tags:
d[n] = d[n] + 1
for n in d:
if d[n] > 7:
print n