Skip to content

Commit f70e38d

Browse files
authored
Update align.py
1 parent 42a8750 commit f70e38d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

align.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import re
22

3-
def align(str, pad=0):
3+
def align_yaml(str, pad=0):
44
props = re.findall(r'^\s*[\S]+:', str, re.MULTILINE)
55
longest = max([len(i) for i in props]) + pad
66
return ''.join([i+'\n' for i in map(lambda str:

0 commit comments

Comments
 (0)