Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions fixed_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def merge(primary, secondary):
for match in matches:
if match not in merged:
merged.append(int(match))

print("last merged item is: %s" % merged[-1])
print("Removing reverted commits..")
# removed reverted PRs from the merged list
merged = [pr for pr in merged if pr not in reverted]
Expand All @@ -250,8 +250,6 @@ def merge(primary, secondary):
table = TableRST([
('Version', branch_len),
('Github', gh_len),
('Type', issue_type_len),
('Priority', issue_priority_len),
('Description', desc_len),
])
except IOError as e:
Expand All @@ -260,8 +258,6 @@ def merge(primary, secondary):
md = TableMD([
'new_release_ver',
'Github',
'Type',
'Priority',
'Description'
])

Expand Down Expand Up @@ -306,17 +302,13 @@ def merge(primary, secondary):
table.add_row([
new_release_ver,
'`#%s`_' % pr_num,
issue_type,
issue_priority,
desc
])
except IOError as e:
print('ERROR: %s' % str(e))
md.add_row([
new_release_ver,
'[#%s](%s)' % (pr_num, gh_url),
issue_type,
issue_priority,
desc
])
if table:
Expand Down