Commit bf112c25 by Sébastien Eustace

Fix an error when the license is unspecified

parent 2f2cec03
# Change Log # Change Log
## [Unreleased]
### Fixed
- Fixed an error when license is unspecified.
## [0.12.0] - 2018-10-17 ## [0.12.0] - 2018-10-17
### Added ### Added
......
...@@ -117,7 +117,7 @@ class Poetry: ...@@ -117,7 +117,7 @@ class Poetry:
package.repository_url = local_config.get("repository") package.repository_url = local_config.get("repository")
package.documentation_url = local_config.get("documentation") package.documentation_url = local_config.get("documentation")
try: try:
license_ = license_by_id(local_config.get("license")) license_ = license_by_id(local_config.get("license", ""))
except ValueError: except ValueError:
license_ = None license_ = None
......
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