diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-15 19:06:16 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-15 20:10:01 +0900 |
commit | 06da7a02e21992d1975aae0a2032030ecf127e73 (patch) | |
tree | 21ba6ac656c7a9fa93c6be6fb39cd4c47428a122 | |
parent | f6f4738c43f13ab52148c355a7705c1c3faeae28 (diff) | |
download | buildstream-06da7a02e21992d1975aae0a2032030ecf127e73.tar.gz |
_frontend/profile.py: Adhere to policy on private symbols
This is a part of issue #285
-rw-r--r-- | buildstream/_frontend/profile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/_frontend/profile.py b/buildstream/_frontend/profile.py index 66cf3b047..00a5980d3 100644 --- a/buildstream/_frontend/profile.py +++ b/buildstream/_frontend/profile.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2017 Codethink Limited +# Copyright (C) 2018 Codethink Limited # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -31,7 +31,7 @@ import click # class Profile(): def __init__(self, **kwargs): - self.kwargs = dict(kwargs) + self._kwargs = dict(kwargs) # fmt() # @@ -46,7 +46,7 @@ class Profile(): # def fmt(self, text, **kwargs): kwargs = dict(kwargs) - fmtargs = copy.copy(self.kwargs) + fmtargs = copy.copy(self._kwargs) fmtargs.update(kwargs) return click.style(text, **fmtargs) |