Skip to content

Commit

Permalink
Merge pull request #161 from revesansparole/bug_check_options
Browse files Browse the repository at this point in the history
Bug check options
  • Loading branch information
revesansparole committed Mar 14, 2019
2 parents a20544c + b3cf309 commit f0ce8b9
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .pkglts/pkg_cfg.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"travis": {},
"version": {
"major": 4,
"minor": 5,
"minor": 6,
"post": 0
}
}
8 changes: 4 additions & 4 deletions .pkglts/pkg_hash.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"conda/meta.yaml": {
"conda.about": "6/RoaDh45Wwcc0uAhKGnUH46mczqPBQq/PV0cSCbe+fhiDQPOooOK8u24GzswyAcXIEHoASc/XIe+WS/2zBl5A==",
"conda.package": "Pj2KCQlx4YTIP8e/vkFfEXAPm5kvND/yoZhYe9RdTDW0FRBGIU+OlgRMx+ksFxHSUZGotFezeoU2l1yC6p9gPw==",
"conda.package": "Qtf4zDJqnVtWEE+zC/Im3HaGZFuoGDgMQ+G8Fu2Oe3ILaj8gaYJKxGbYdrhUhowxoUrPFLWz7lEhIy/3i22SUw==",
"conda.req_build": "STnNeGQNdKNtp0ZDkfZ9RqPnmFYfv1p31EavfN1V6ogusq9KBD+sFzDaFK8r9xu+pqXupiyeBc1T/MIqJWYXJg==",
"conda.req_run": "IFJIX6NLBagkPhLDSOvcHHj/XiggVhFfvIRKy/vGjLnBm8TsaqXFdb8wX1l/l4GJaGjfNUA3+MOT+tGumt8uPw==",
"conda.src": "Lzbp176AVU0YantZQxB4LsR2jbxpZ/OlkvY2V4aWAEuzKEarh872uc1eRvsIYf/FsbxvcmUI84AezWlA72nI6A=="
Expand All @@ -63,7 +63,7 @@
"doc/_static/nonempty.txt": {},
"doc/authors.rst": {},
"doc/conf.py": {
"sphinx": "x+YU3NPKznH2+jc1Fdej264jDDHDdF5/OUvZddzZjMJY7YqXtdnnEo/n9BcsIYmvyU+yrFwix6zyEpWb4UW9Ng=="
"sphinx": "7DpxFo8ON3/j6SJ11AKi7Gil1jozWX5fMu0fjNKxa0tc64pXl8jLNiHZGs+7f4lWrEAj1YkOyCd4LdhbDudmWQ=="
},
"doc/contributing.rst": {},
"doc/history.rst": {},
Expand Down Expand Up @@ -98,7 +98,7 @@
},
"setup.py": {
"pysetup.call": "t30iIuCMd/sWxStR2XNYb8bCBgwanhKt8YYn2VKACyAqL5cKFRUWpVRIpAR+uxXUZ9PYYy2csMmECcONnRZE8w==",
"pysetup.kwds": "cXcGiLPSIPnViKwQYoj+nkM9J3ShtMOeZ5J0eHopbBloMyExLwWj++LAX8fPnapW0oB4aoUMTC8FdJGPKpH34A=="
"pysetup.kwds": "3iVOFCp6jkawaniEpfKcdvik2XDSvYdRfOXJEA/R93s4fY10XtmtgsBlFsJNAtH/vR1vXednDmmiZUpv8yVBTw=="
},
"src/pkglts/__init__.py": {
"base": "+GVGxVjJGifAp8dAR9V2W3aVPe7/D53bN7r0O5VxO9OUqG4vnGTZvnORu1objjjIwm86DgemQd7ax/IJpRa8Wg=="
Expand All @@ -107,7 +107,7 @@
"data": "wwgLuV/OqHWjWbssvDHa4LNg+7C+tuNiKHOxkO+9UAl9opI/HfPyJAq2fPhUeTmVvb/E6MkqDJIli9m8n5/V0Q=="
},
"src/pkglts/version.py": {
"version": "eZ/fTGzmAhUIOE7A2bhyFO9/YI5lp+HEFiPbyHskgH/SMwfnpWqPbrlno6ZYK9zkyFUfU2kwoxc2cJJWrNJbVQ=="
"version": "g+d3FedzxKeremXck5ZoauRBz+WOyl7kCzEoaeeUc9Rx42bhWJn91C4x6mLHaZgy9GR82+9+jBVI+0zybryGxQ=="
},
"src/pkglts_data/__init__.py": {},
"test/__init__.py": {},
Expand Down
44 changes: 22 additions & 22 deletions .pkglts/pkg_version.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"appveyor": "4.4.4",
"base": "4.4.4",
"conda": "4.4.4",
"coverage": "4.4.4",
"coveralls": "4.4.4",
"data": "4.4.4",
"doc": "4.4.4",
"flake8": "4.4.4",
"git": "4.4.4",
"github": "4.4.4",
"landscape": "4.4.4",
"license": "4.4.4",
"notebook": "4.4.4",
"pypi": "4.4.4",
"pysetup": "4.4.4",
"readthedocs": "4.4.4",
"requires": "4.4.4",
"sphinx": "4.4.4",
"test": "4.4.4",
"tox": "4.4.4",
"travis": "4.4.4",
"version": "4.4.4"
"appveyor": "4.6.0",
"base": "4.6.0",
"conda": "4.6.0",
"coverage": "4.6.0",
"coveralls": "4.6.0",
"data": "4.6.0",
"doc": "4.6.0",
"flake8": "4.6.0",
"git": "4.6.0",
"github": "4.6.0",
"landscape": "4.6.0",
"license": "4.6.0",
"notebook": "4.6.0",
"pypi": "4.6.0",
"pysetup": "4.6.0",
"readthedocs": "4.6.0",
"requires": "4.6.0",
"sphinx": "4.6.0",
"test": "4.6.0",
"tox": "4.6.0",
"travis": "4.6.0",
"version": "4.6.0"
}
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# {# pkglts, conda.package
package:
name: pkglts
version: "4.5.0"
version: "4.6.0"
# #}

# {# pkglts, conda.src
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@
#

# The short X.Y version.
version = "4.5.0"
version = "4.6.0"
# The full version, including alpha/beta/rc tags.
release = "4.5.0"
release = "4.6.0"


# The language for content autogenerated by Sphinx. Refer to documentation
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

setup_kwds = dict(
name='pkglts',
version="4.5.0",
version="4.6.0",
description=short_descr,
long_description=readme + '\n\n' + history,
author="revesansparole",
Expand Down
5 changes: 4 additions & 1 deletion src/pkglts/manage_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ def check_option_parameters(name, cfg):
"""
try:
opt = available_options[name]
return opt.check(cfg)
try:
return opt.check(cfg)
except KeyError as e:
raise UserWarning("problem with check of %s" % name)
except KeyError:
return []

Expand Down
2 changes: 1 addition & 1 deletion src/pkglts/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
MAJOR = 4
"""(int) Version major component."""

MINOR = 5
MINOR = 6
"""(int) Version minor component."""

POST = 0
Expand Down

0 comments on commit f0ce8b9

Please sign in to comment.