Skip to content

Commit

Permalink
Deprecate -c and -m command line options and use `ROSDEP_CACHE_PA…
Browse files Browse the repository at this point in the history
…TH` instead.

Signed-off-by: Martin Pecka <[email protected]>
  • Loading branch information
peci1 committed Jan 2, 2023
1 parent b1579e2 commit a86c19b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/rosdep2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
from .installers import normalize_uninstalled_to_list
from .installers import RosdepInstaller
from .lookup import RosdepLookup, ResolutionError, prune_catkin_packages
from .meta import MetaDatabase, get_meta_cache_dir
from .meta import MetaDatabase
from .rospkg_loader import DEFAULT_VIEW_KEY
from .sources_list import update_sources_list, get_sources_cache_dir,\
download_default_sources_list, SourcesListLoader, CACHE_INDEX,\
Expand Down Expand Up @@ -311,9 +311,6 @@ def setup_environment_variables(ros_distro, meta_cache_dir=None):

def _rosdep_main(args):
# sources cache dir is our local database.
default_sources_cache = get_sources_cache_dir()
default_meta_cache = get_meta_cache_dir()

parser = OptionParser(usage=_usage, prog='rosdep')
parser.add_option('--os', dest='os_override', default=None,
metavar='OS_NAME:OS_VERSION', help='Override OS name and version (colon-separated), e.g. ubuntu:lucid')
Expand Down

0 comments on commit a86c19b

Please sign in to comment.