summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.py b/isys/isys.py
index 1968a5824..521ec0b70 100644
--- a/isys/isys.py
+++ b/isys/isys.py
@@ -113,7 +113,7 @@ def umount(what, removeDir = 1):
raise ValueError, "isys.umount() can only umount by mount point"
if mountCount.has_key(what) and mountCount[what] > 1:
- mountCount[what] = mountCount - 1
+ mountCount[what] = mountCount[what] - 1
return
rc = _isys.umount(what)