Welcome to mirror list, hosted at ThFree Co, Russian Federation.

fix-sln.py - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4b74543ed972411dd6d771b56003fa0b65ec563a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python
from __future__ import print_function
import re
import io

with open('Duplicati.sln', 'r') as f:
    c = f.read()

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)