summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-15 19:06:16 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-04-15 20:10:01 +0900
commit06da7a02e21992d1975aae0a2032030ecf127e73 (patch)
tree21ba6ac656c7a9fa93c6be6fb39cd4c47428a122
parentf6f4738c43f13ab52148c355a7705c1c3faeae28 (diff)
downloadbuildstream-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.py6
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)