Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
pluginhandler: don't clobber path on local import failure #1361
Conversation
kyrofa
approved these changes
Jun 9, 2017
zyga
and others
added some commits
Jun 9, 2017
|
I added an assertion that fails without @zyga's fix. With this, I'm +1. |
elopio
merged commit c7447f8
into
snapcore:master
Jun 28, 2017
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
sergiusens
added this to the 2.33 milestone
Jun 28, 2017
added a commit
to kalikiana/snapcraft
that referenced
this pull request
Aug 3, 2017
added a commit
to kalikiana/snapcraft
that referenced
this pull request
Sep 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zyga commentedJun 9, 2017
The helper for importing local plugins would clobber sys.path if the
import failed. This is fixed with a simple try/finally statement.
Signed-off-by: Zygmunt Krynicki zygmunt.krynicki@canonical.com