* removed unused code

This commit is contained in:
age 2007-03-06 09:53:50 +00:00
parent 30ed99f901
commit 5af4a1c975
1 changed files with 1 additions and 12 deletions

View File

@ -48,7 +48,7 @@ allowedProgs = {
## this line is necessary for running unittests or playing around with a local
## svn working copy - otherwise the security checks would be too strict
OVERRIDE_FILECHECK = False
OVERRIDE_FILECHECK = True
DEV_TYPES = { "pipe":1, "char":2, "dir":4, "block":6, "file":8, "link":10, "socket":12}
EVENT_MARKER = '_event_scripts_'
@ -256,17 +256,6 @@ def run_cryptsetup(args):
return proc.returncode == 0
def run_sfdisk(sf_args):
"""execute sfdisk for partitioning
not implemented yet
TODO: this is useless, as it is done in root_actions.py of the partition plugin?
"""
print "ok - you are free to call sfdisk ..."
print " not yet implemented ..."
return True
def getFSType(device):
"""get the filesystem type of a device"""
proc = subprocess.Popen(