Make isdir argument to _ErrorTarget optional

This commit is contained in:
Arda Xi 2019-04-21 19:33:41 +02:00
parent 48a2b42ec1
commit 2d6cc26127

View File

@ -365,7 +365,7 @@ class DirectoryTarget(object):
class _ErrorTarget(object):
def __init__(self, path, isdir):
def __init__(self, path, isdir=False):
self._path = path
self._quoted_path = quote_local_unicode_path(path)
self._isdir = isdir