summaryrefslogtreecommitdiffstats
path: root/pysystemmgr
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-07-26 23:06:10 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-07-26 23:31:33 -0400
commit987170ede11a4751f931bf531a8e5599315029a7 (patch)
tree9836df104e39fb698e699af07e5da86115177e7e /pysystemmgr
parent6173a8965e28e2bc2981f90eaee3c5ee1b44c5e9 (diff)
downloadtalos-skeleton-987170ede11a4751f931bf531a8e5599315029a7.tar.gz
talos-skeleton-987170ede11a4751f931bf531a8e5599315029a7.zip
Remove unused CACHE_PATH variable from configs
The library function doing the caching now makes the parent directory if it doesn't exist so also removing that bit of code from the system manager. Change-Id: I30a55737a51e698d977dbc3f30208db1d4e0e87e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'pysystemmgr')
-rw-r--r--pysystemmgr/system_manager.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pysystemmgr/system_manager.py b/pysystemmgr/system_manager.py
index d6f9fe7..819b4c0 100644
--- a/pysystemmgr/system_manager.py
+++ b/pysystemmgr/system_manager.py
@@ -55,10 +55,6 @@ class SystemManager(DbusProperties, DbusObjectManager):
self.SystemStateHandler(System.SYSTEM_STATES[0])
- if not os.path.exists(PropertyCacher.CACHE_PATH):
- print "Creating cache directory: "+PropertyCacher.CACHE_PATH
- os.makedirs(PropertyCacher.CACHE_PATH)
-
print "SystemManager Init Done"
def SystemStateHandler(self, state_name):
OpenPOWER on IntegriCloud