better error message

This commit is contained in:
Tully Foote 2010-05-28 08:24:46 +00:00
parent 15fc15333c
commit a2a9b2c26c
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ class Override(OSBase):
def check_presence(self):
try:
(self._os_name, self._os_version) = os.environ["ROS_OS_OVERRIDE"].split(':')
print >> sys.stderr, "Using environment variable ROS_OS_OVERRIDE=name:version"
print >> sys.stderr, "Using environment variable ROS_OS_OVERRIDE name = %s version = %s"%(self._os_name, self._os_version)
return True
except:
return False