From 4933e149294ca6a46df515f025a0e879e24e200e Mon Sep 17 00:00:00 2001 From: fling Date: Thu, 21 Oct 2010 14:35:40 +0800 Subject: [PATCH] modified: ri_oper.py --- interface/ri_oper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/ri_oper.py b/interface/ri_oper.py index 86bcbe4..5e6065b 100644 --- a/interface/ri_oper.py +++ b/interface/ri_oper.py @@ -212,9 +212,9 @@ class ConfigureFstab(Mount): instance = ri_data.MountPoint.dict[k] if check_mount_point(instance.device, instance.directory): continue if instance.filesystem != '' and instance.directory !='': - fstab += "/dev/%s %s %s\n" %(d.device, d.directory, d.filesystem) + fstab += "/dev/%s %s %s\n" %(instance.device, instance.directory, instance.filesystem) elif instance.filesystem == 'swap' and flag: - fstab += "/dev/%s swap swap\n" %d.device + fstab += "/dev/%s swap swap\n" %instance.device flag=False return fstab