From 5fc4f9a8b6a592ccab21fa39ed0eed65e63b3917 Mon Sep 17 00:00:00 2001 From: Igor Bogoslavskyi Date: Tue, 13 Jun 2017 15:30:53 +0200 Subject: [PATCH] fix a wrong error code --- catkin_tools_fetch/cli.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/catkin_tools_fetch/cli.py b/catkin_tools_fetch/cli.py index a224fa3..9e40b42 100644 --- a/catkin_tools_fetch/cli.py +++ b/catkin_tools_fetch/cli.py @@ -305,7 +305,7 @@ def fetch(packages, package_folder = path.join(ws_path, package_path) deps_to_fetch = Tools.update_deps_dict( deps_to_fetch, parser.get_dependencies(package_folder)) - if not deps_to_fetch: + if deps_to_fetch is None: sys.exit(1) already_fetched.add(package.name) for new_dep_name in deps_to_fetch.keys(): diff --git a/setup.py b/setup.py index 298d12a..2391d8f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools import find_packages from setuptools.command.install import install -version_str = '0.2.1' +version_str = '0.2.2' # Setup installation dependencies install_requires = [