Download:
child 7:23ff70d977f7
parent 5:0b8327ad3140
6:3773fa2d0805
Brendan Cully <brendan@cs.ubc.ca>, Sun, 09 Aug 2009 12:27:55 -0700
Trim help text to first descriptive line

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
plugin.py file | annotate | diff | comparison | revisions
--- a/plugin.py Wed Jul 15 17:10:45 2009 -0700
+++ b/plugin.py Sun Aug 09 12:27:55 2009 -0700
@@ -121,7 +121,7 @@
def fmt(text):
lines = text.splitlines()
out = []
- for line in lines:
+ for line in lines[:3]:
line = line.strip()
if not line or line.startswith('aliases:'):
continue