kopia lustrzana https://github.com/jupyterhub/repo2docker
Merge pull request #255 from ctb/fix/samples_html_script
make sure there's a newline before each 'File: ' headingpull/239/head^2
commit
f1bc6a146a
|
@ -202,7 +202,7 @@ for root, _, files in os.walk(os.path.join('..', '..', 'tests')):
|
|||
continue
|
||||
header = files.pop(files.index('README.rst'))
|
||||
with open(os.path.join(root, header), 'r') as ff:
|
||||
this_s = ff.read() + '\n'
|
||||
this_s = ff.read() + '\n\n'
|
||||
title = this_s.split('\n')[0]
|
||||
for ifile in files:
|
||||
filename = os.path.basename(ifile)
|
||||
|
|
Ładowanie…
Reference in New Issue