Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Conversation

@hroncok
Copy link
Member

@hroncok hroncok commented Dec 13, 2018

No description provided.

artifact = artifactsdir / 'output.log'

artifactsdir.mkdir(parents=True, exist_ok=True)
resultsdir.mkdir(parents=True, exist_ok=True)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those two mkdirs were needed.
cc @kparal and @frantisekz - previously it worked without this

pycallgraph = fixtures_factory('_pycallgraph')

_ttystatus = fixtures_factory('python-ttystatus-0.34-7.fc29')
ttystatus = fixtures_factory('_ttystatus')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that I'd rather replace pycallgraph with another package, but i couldn't find anything that would fit for both usecases pycallgraph had.

We don't need any modular builds (yet?) and this saves the metadata pull.
@encukou
Copy link
Member

encukou commented Dec 18, 2018

The changes look OK to me, but I'm not very familiar with the code.

Copy link
Collaborator

@irushchyshyn irushchyshyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

if '[' in nodeid:
parameters = nodeid.rsplit('[')[-1].replace(']', '')
return parameters.split('-')[0]
return None
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the last return is redundunt.

@hroncok
Copy link
Member Author

hroncok commented Dec 19, 2018

Thanks @irushchyshyn, @encukou!

@hroncok hroncok merged commit 5926d54 into fedora-python:develop Dec 19, 2018
@hroncok hroncok deleted the test_pathlib branch December 19, 2018 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants