Hide PyLint warning with undefined WindowsError exception

This commit is contained in:
Ivan Kravets
2015-03-04 22:27:07 +02:00
parent 7756504c92
commit 21c60fdd99

View File

@ -11,7 +11,7 @@ MAX_SOURCES_LENGTH = 8000 # Windows CLI has limit with command length to 8192
def _remove_tmpfile(path):
try:
remove(path)
except WindowsError:
except WindowsError: # pylint: disable=E0602
pass