Skip to content

Commit

Permalink
merge branch 'fix-context-check'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Mar 31, 2016
2 parents bf113e8 + 8438839 commit 0d19930
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions catkin_tools/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ def extend_path(self, value):
if value is not None:
if not os.path.isabs(value):
value = os.path.join(self.workspace, value)
# remove double or trailing slashes
value = os.path.normpath(value)
if not os.path.exists(value):
raise ValueError("Resultspace path '{0}' does not exist.".format(value))
self.__extend_path = value
Expand Down

0 comments on commit 0d19930

Please sign in to comment.