Skip to content

Conversation

@ShivamNegi
Copy link
Contributor

To create a profile in case of a non existing profile specified by the user, these two lines have been added in /mozregression/launchers.py. Which creates the directory corresponding to the profile path specified.

Copy link
Contributor

Choose a reason for hiding this comment

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

profile can be None - so it should be something like "if profile and not os.path.exists(profile)".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made the suggested change.

@parkouss
Copy link
Contributor

Thanks @ShivamNegi, we're almost there!

Well first thing I would like to see the dir creation in create_profile, just after https://github.com/mozilla/mozregression/pull/343/files#diff-9be3d66461b771098aa1bcc305505480R129 for example - this way the fennec launcher will also benefits from the fix (sorry I missed that first time). And this make sense to have the create_profile do this task.

Second thing is a small nit - we run flake8 on travis-ci (see check panel above) and you have a small trailing whitespace: https://travis-ci.org/mozilla/mozregression/builds/88289171#L281

Can you fix that ? Thanks for working on this bug. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants