Show
Ignore:
Timestamp:
01/27/20 21:51:23 (5 years ago)
Author:
quentin
Message:

Support newer python-hesiod that returns unicode

Files:

Legend:

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

    r179 r214  
    200200                    return None 
    201201                else: 
    202                     self.mounts[self._uid()][name] = pointer['location'] 
     202                    self.mounts[self._uid()][name] = str(pointer['location']) 
    203203                    syslog(LOG_INFO, "Mounting "+name+" on "+pointer['location']) 
    204204                    return pointer['location']