Closed Korusuke closed 5 years ago
thanks @Korusuke: this does solve the problem I mentioned by first generating the Portfile and, only if that works, to create the output directory and write it to a file.
I think it's fine to have an extra variable portfile
and use that as an argument for the __create_portfile
function, but there might be other ways as well. I am sure @Steap has some insight here on what is most Pythonic and/or he prefers!
ping @Steap I guess this PR can be merged now?
Merging #48 into master will increase coverage by
1.14%
. The diff coverage is60%
.
@@ Coverage Diff @@
## master #48 +/- ##
==========================================
+ Coverage 86.48% 87.63% +1.14%
==========================================
Files 1 1
Lines 185 186 +1
Branches 10 10
==========================================
+ Hits 160 163 +3
+ Misses 25 23 -2
Impacted Files | Coverage Δ | |
---|---|---|
upt_macports/upt_macports.py | 87.63% <60%> (+1.14%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update f3c01cf...5a9ab29. Read the comment docs.
ping @Steap I guess this PR can be merged now?
Please squash the commits :) You may also want to add "Closes #42" at the end of the commit message.
Otherwise, looks good to me. @reneeotten Once Korusuke has squashed the commits, can you test this PR and merge it if it solves your issue?
Fixes #42