qa/coccinelle: reformat struct-flags.py

pull/4420/head
Eric Leblond 5 years ago committed by Victor Julien
parent ba6b58a0da
commit b58d508bff

@ -4,10 +4,12 @@ from os import listdir
SRC_DIR = "../../src/"
class Structure:
def __init__(self, string):
(self.struct, self.flags, self.values) = string.split(":")
cmd = "grep -h coccinelle ../../src/*[ch] | sed -e 's/.*coccinelle: \(.*\) \*\//\1/'"
struct_list = []

Loading…
Cancel
Save