Changeset 179 for trunk

Show
Ignore:
Timestamp:
03/05/09 15:00:54 (16 years ago)
Author:
broder
Message:

Only replace "/afs/" at the beginning of the path.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/source/pyhesiodfs/pyHesiodFS.py

    r178 r179  
    180180                return 
    181181            else: 
    182                 rw = ro.replace('/afs/', '/afs/.'
     182                rw = ro.replace('/afs/', '/afs/.', 1
    183183                self.mounts[self._uid()][name] = rw 
    184184                syslog(LOG_INFO, "Mounting "+name+" on "+rw)