Commit efb14b29 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Compare function with `is` operator

parent 707f722d
......@@ -723,7 +723,7 @@ def install_from_zip(self, zip_filename, overwrite=None):
def delete_plugin_files(self, plugin_path):
def on_error(func, path, error):
if func == os.path.islink:
if func is os.path.islink:
# if symlink
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment