mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
typo
This commit is contained in:
parent
3418d895f2
commit
18ea588e5c
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ aa_regex_map = {
|
|||
}
|
||||
|
||||
def my_repl(matchobj):
|
||||
#print matchobj.group(1)
|
||||
matchobj.group(1)
|
||||
if matchobj.group(1) in aa_regex_map:
|
||||
return aa_regex_map[matchobj.group(1)]
|
||||
|
||||
|
@ -169,7 +169,7 @@ sys.stdout.write('" do not edit this file - edit apparmor.vim.in or create-appar
|
|||
with open("apparmor.vim.in") as template:
|
||||
for line in template:
|
||||
line = re.sub(regex, my_repl, line.rstrip())
|
||||
sys.stdout.write(line)
|
||||
sys.stdout.write('%s\n' % line)
|
||||
|
||||
sys.stdout.write("\n\n\n\n")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue