Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PEP8 fixes

  • Loading branch information...
commit 3d1c7e3f57e3a4fa2ac527cd14f5ece5501c10c3 1 parent af70c1d
@eht16 eht16 authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 plugins/genapi.py
View
5 plugins/genapi.py
@@ -30,7 +30,9 @@
"""
-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)
Please sign in to comment.
Something went wrong with that request. Please try again.