Make extra error info string

Fixes #645
This commit is contained in:
Wang Xuerui 2013-08-21 01:58:32 +08:00 committed by Kim Silkebækken
parent c278c2d9c1
commit 4f1c26aa24
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ class INotify(object):
extra = ''
if eno == errno.ENOSPC:
extra = 'You may need to increase the inotify limits on your system, via /proc/sys/inotify/max_user_*'
raise OSError(eno, self.os.strerror(eno) + extra)
raise OSError(eno, self.os.strerror(eno) + str(extra))
def __del__(self):
# This method can be called during interpreter shutdown, which means we