Added a small script to detect duplicates in the solution file
This commit is contained in:
+22
@@ -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
|
||||
Reference in New Issue
Block a user