diff --git a/src/python/dm/ds_web_service/service/impl/fileSystemControllerImpl.py b/src/python/dm/ds_web_service/service/impl/fileSystemControllerImpl.py deleted file mode 100755 index b3e27a9413d003dcd581fde5b413a6cdcd957340..0000000000000000000000000000000000000000 --- a/src/python/dm/ds_web_service/service/impl/fileSystemControllerImpl.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python - -# -# Implementation for file system controller. -# - -####################################################################### - -import threading - -from dm.common.objects.dmObject import DmObject -from dm.common.objects.dmObjectManager import DmObjectManager -from dm.common.utility.dmSubprocess import DmSubprocess - -####################################################################### - -class FileSystemControllerImpl(DmObjectManager): - """ FS controller implementation class. """ - - def __init__(self): - DmObjectManager.__init__(self) - - def getDirectoryList(self, path): - p = DmSubprocess('ls -l %s' % path) - p.run() - return DmObject({'path' : path, 'directoryList' : p.getStdOut()}) - - def writeFile(self, path, content): - f = open(path, 'w') - f.write('%s\n' % content) - f.close() - return DmObject({'path' : path})