mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-01 03:00:13 -04:00
Fix milestone2rst.py script
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -20,8 +20,11 @@ def generate(milestone):
|
||||
if issue['state'] != 'closed': raise ValueError('This issue is still open: ' + issue['title'])
|
||||
|
||||
rst = '\n'.join(['`#{n:d}<http://github.com/CoolProp/CoolProp/issues/{n:d}>` : {t:s}'.format(n = issue['number'], t = issue['title']) for issue in issues])
|
||||
|
||||
return rst
|
||||
|
||||
if __name__=='__main__':
|
||||
|
||||
if len(sys.argv) != 2:
|
||||
raise ValueError('This script should be called like this: python milestone2rst.py v5')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user