restoring scripts #3602

This commit is contained in:
Tully Foote 2011-08-17 06:21:40 +00:00
parent 8dbd617c07
commit c36f8174c3
1 changed files with 4 additions and 2 deletions

View File

@ -497,9 +497,9 @@ class Rosdep:
if "ROSDEP_DEBUG" in os.environ:
print("OLD TYPE BACKWARDS COMPATABILITY MODE", rosdep_dict)
# Detect a script and execute it if desired
if len(rosdep_dict.split('\n')) > 1:
raise RosdepException( "SCRIPT UNIMPLEMENTED AT THE MOMENT TODO")
return create_tempfile_from_string_and_execute(rosdep_dict)
installer = self.osi.get_os().get_installer('default')
packages = rosdep_dict.split()
@ -516,6 +516,8 @@ class Rosdep:
else:
mode = modes[0]
if "ROSDEP_DEBUG" in os.environ:
print("rosdep mode:", mode)
installer = self.osi.get_os().get_installer(mode)