Skip to content

Commit

Permalink
check milesonte exists
Browse files Browse the repository at this point in the history
  • Loading branch information
womullan committed Jun 4, 2023
1 parent b91fce0 commit 2cd137e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/pmcs/202303-ME.xls
Git LFS file not shown
2 changes: 1 addition & 1 deletion data/pmcs/202304-ME.xls
Git LFS file not shown
3 changes: 2 additions & 1 deletion milestones/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def report(args, milestones):

print("Code, Forecast end, Last Month, delta1 , 2 Month, delta2", file=out)
for ms in milestones:
lmdue = lmmap[ms.code]
if ms.code in lmmap:
lmdue = lmmap[ms.code]
if lmdue is None: # may be new with no prior
lmdue = ms.fdue
print(f"{ms.code},{ms.name},"
Expand Down

0 comments on commit 2cd137e

Please sign in to comment.