summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Babej <tbabej@redhat.com>2015-07-02 13:00:08 +0200
committerTomas Babej <tbabej@redhat.com>2015-07-02 13:04:23 +0200
commitccbf2678725949c527a99cb8c36a1fc9cc1b884f (patch)
tree1c232522731b8de5e565463a7b022d84235e210d
parent2e329ecdc7c72045f276319d18df28549a51d4b9 (diff)
downloadfreeipa-ccbf2678725949c527a99cb8c36a1fc9cc1b884f.tar.gz
freeipa-ccbf2678725949c527a99cb8c36a1fc9cc1b884f.tar.xz
freeipa-ccbf2678725949c527a99cb8c36a1fc9cc1b884f.zip
ipaplatform: Remove redundant definitions
The variables path_namespace and task_namespace in the base platform are not used anywhere in the rest of the codebase and are just debris from previous implementation. This patch removes them. Reviewed-By: Tomas Babej <tbabej@redhat.com>
-rw-r--r--ipaplatform/base/paths.py3
-rw-r--r--ipaplatform/base/tasks.py3
2 files changed, 0 insertions, 6 deletions
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
index e94cb9d02..ff80eab98 100644
--- a/ipaplatform/base/paths.py
+++ b/ipaplatform/base/paths.py
@@ -346,6 +346,3 @@ class BasePathNamespace(object):
BAK2DB = '/usr/sbin/bak2db'
DB2BAK = '/usr/sbin/db2bak'
KDCPROXY_CONFIG = '/etc/ipa/kdcproxy/kdcproxy.conf'
-
-
-path_namespace = BasePathNamespace
diff --git a/ipaplatform/base/tasks.py b/ipaplatform/base/tasks.py
index 10c5e835d..08fdb494a 100644
--- a/ipaplatform/base/tasks.py
+++ b/ipaplatform/base/tasks.py
@@ -217,6 +217,3 @@ class BaseTaskNamespace(object):
:return: object implementing proper __cmp__ method for version compare
"""
return parse_version(version)
-
-
-task_namespace = BaseTaskNamespace()