Styling: misc pep8
This commit is contained in:
parent
7c4688c3ef
commit
7dd8c2dda4
1 changed files with 4 additions and 1 deletions
|
@ -283,11 +283,14 @@ class RhsmPool(object):
|
|||
'''
|
||||
Convenience class for housing subscription information
|
||||
'''
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
for k,v in kwargs.items():
|
||||
setattr(self, k, v)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.__getattribute__('_name'))
|
||||
|
||||
def subscribe(self):
|
||||
(stdout, stderr, retcode) = run_command("subscription-manager subscribe --pool %s" % self.PoolId)
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue