Kaydet (Commit) 3d1c7e3f authored tarafından Enrico Tröger's avatar Enrico Tröger

PEP8 fixes

üst af70c1db
......@@ -30,7 +30,9 @@ Creates macros for each plugin API function pointer, e.g.:
"""
import re, sys
import re
import sys
def get_function_names():
names = []
......@@ -47,6 +49,7 @@ def get_function_names():
filep.close()
return names
def get_api_tuple(source):
match = re.match("^([a-z]+)_([a-z][a-z0-9_]+)$", source)
return 'p_' + match.group(1), match.group(2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment