Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
Fixed catching invalid filename exception in the incorrect statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nint8835 committed Jun 6, 2017
1 parent d864d7c commit 236104a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jigsaw/PluginLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def load_manifest(self, path):
manifest["path"] = path
self._manifests.append(manifest)
self._logger.debug("Loaded plugin manifest from {}.".format(manifest_path))
except (ValueError, IOError) as e:
except ValueError:
self._logger.error("Failed to decode plugin manifest at {}.".format(manifest_path))
except OSError:
except (OSError, IOError) as e:
self._logger.error("Failed to load plugin manifest at {}.".format(manifest_path))

def get_manifest(self, plugin_name):
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="Jigsaw",
version="3.1.0",
version="3.2.0",
packages=["jigsaw", ],
license="MIT",
description="A plugin framework for Python3.6+",
Expand All @@ -18,6 +18,7 @@
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities"
]
)

0 comments on commit 236104a

Please sign in to comment.