changeset 2:1b91aa4f3c85

getFsType fix
author Goffi <goffi@goffi.org>
date Tue, 21 Sep 2010 13:47:44 +0800
parents 995487813501
children 6a24b5928980
files gcp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gcp	Mon Aug 30 20:15:26 2010 +0800
+++ b/gcp	Tue Sep 21 13:47:44 2010 +0800
@@ -129,7 +129,7 @@
     def getFsType(self, path):
         fs=''
         for mount in self.mounts:
-            if path.startswith(mount) and len(self.mounts[mount])>len(fs):
+            if path.startswith(mount) and len(self.mounts[mount])>=len(fs):
                 fs = self.mounts[mount]
         return fs