Fix typo in linux.py (#116)
This commit is contained in:
@@ -1153,7 +1153,7 @@ class Linux(object):
|
||||
pass
|
||||
mode = { os.O_RDWR: 'r+', os.O_RDONLY: 'r', os.O_WRONLY: 'w' }[flags&7]
|
||||
f = File(filename, mode) #todo modes, flags
|
||||
logger.debug("Openning file %s for %s real fd %d",filename, mode, f.fileno())
|
||||
logger.debug("Opening file %s for %s real fd %d",filename, mode, f.fileno())
|
||||
except Exception,e:
|
||||
logger.info("Could not open file %s. Reason %s"%(filename,str(e)))
|
||||
return -1
|
||||
|
||||
Reference in New Issue
Block a user