diff options
author | Abhishek Koneru <akoneru@redhat.com> | 2013-07-03 13:51:25 -0400 |
---|---|---|
committer | Abhishek Koneru <akoneru@redhat.com> | 2013-07-03 15:45:37 -0400 |
commit | 73be9e5fa4a49864092e7a5cc9521d4bbd82fe45 (patch) | |
tree | dc62cc86f1b798e9c920455989667db96923111a /base/server/python/pki/server/__init__.py | |
parent | edca1ee9a4b1ff1b516cc47ed318f58a0ae1baa1 (diff) | |
download | pki-73be9e5fa4a49864092e7a5cc9521d4bbd82fe45.tar.gz pki-73be9e5fa4a49864092e7a5cc9521d4bbd82fe45.tar.xz pki-73be9e5fa4a49864092e7a5cc9521d4bbd82fe45.zip |
Fixes for issues reported by pylint.
Fixes for issues in other files.
Ticket #316
Diffstat (limited to 'base/server/python/pki/server/__init__.py')
-rw-r--r-- | base/server/python/pki/server/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/server/python/pki/server/__init__.py b/base/server/python/pki/server/__init__.py index c60c5a325..fab695bdc 100644 --- a/base/server/python/pki/server/__init__.py +++ b/base/server/python/pki/server/__init__.py @@ -59,10 +59,10 @@ class PKISubsystem(object): class PKIInstance(object): - def __init__(self, name, type=10): + def __init__(self, name, vtype=10): self.name = name - self.type = type - if self.type >= 10: + self.vtype = vtype + if self.vtype >= 10: self.conf_dir = os.path.join(INSTANCE_BASE_DIR, name, 'conf') self.base_dir = os.path.join(INSTANCE_BASE_DIR, name) else: @@ -77,7 +77,7 @@ class PKIInstance(object): 'Invalid instance: ' + self.__repr__(), None) def __repr__(self): - if self.type == 9: + if self.vtype == 9: return "Dogtag 9 " + self.name return self.name |