Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: classic with no exported variables. #1090

Closed

Conversation

sergiusens
Copy link
Collaborator

To avoid unexpected errors we wipe clean the envrionment
variables inside the wrappers, if a developer needs it
they could export it themselves.

LP: #1657504

Signed-off-by: Sergio Schvezov sergio.schvezov@canonical.com

Avoid the use of environment variables as they leak into whatever else
calls them. This helps classic confinement but also other things like
snaps with python2 and python3 parts.

LP: #1657504

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
To avoid unexpected errors we wipe clean the envrionment
variables inside the wrappers, if a developer needs it
they could export it themselves.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
@codecov-io
Copy link

codecov-io commented Jan 28, 2017

Current coverage is 96.31% (diff: 85.96%)

Merging #1090 into master will decrease coverage by 0.03%

@@             master      #1090   diff @@
==========================================
  Files           194        194          
  Lines         17775      17806    +31   
  Methods           0          0          
  Messages          0          0          
  Branches       1371       1375     +4   
==========================================
+ Hits          17126      17150    +24   
- Misses          440        444     +4   
- Partials        209        212     +3   

Powered by Codecov. Last update 9a66ec8...7d44e14

@sergiusens
Copy link
Collaborator Author

Might be replace with #1093

@sergiusens sergiusens closed this Jan 31, 2017
@sergiusens sergiusens deleted the bugfix/classic-env-vars branch March 16, 2017 20:00
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.

None yet

2 participants