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

apt::params: Make the class private. #438

Merged
merged 1 commit into from
Feb 25, 2015

Conversation

daenney
Copy link

@daenney daenney commented Feb 24, 2015

Prevent direct access to apt::params. This will ensure that any other
module cannot blindly access apt::params and get settings that have been
potentially overridden at the apt level.

Our own module still can since any class in apt has a module_name of
'apt' but that's up to us to prevent from happening.

Every setting must now be accessed by a qualified lookup into the apt
namespace.

nan batman

Prevent direct access to apt::params. This will ensure that any other
module cannot blindly access apt::params and get settings that have been
potentially overridden at the apt level.

Our own module still can since any class in apt has a module_name of
'apt' but that's up to us to prevent from happening.

Every setting must now be accessed by a qualified lookup into the apt
namespace.
@underscorgan underscorgan added this to the 2.0 milestone Feb 24, 2015
underscorgan pushed a commit that referenced this pull request Feb 25, 2015
…ananana

apt::params: Make the class private.
@underscorgan underscorgan merged commit 4e45319 into next Feb 25, 2015
@daenney daenney deleted the daenney/cant-touch-params-nanananana branch February 25, 2015 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants