Mercurial > libervia-backend
view frontends/src/jp/common.py @ 814:59c7bc51c323
jp: refactoring using ArgParse
author | Dal <kedals0@gmail.com> |
---|---|
date | Wed, 05 Feb 2014 14:35:26 +0100 |
parents | frontends/src/jp/jp@1fe00f0c9a91 |
children | f8d534ed1d1e |
line wrap: on
line source
class MissingPlugin(Exception): pass def require(plugin_name): suported_plugins = ["profile"] if plugin_name not in Supported_plugins: raise MissingPlugin