Skip to content

Commit

Permalink
Remove obsolete code.
Browse files Browse the repository at this point in the history
  • Loading branch information
davebx committed Jan 26, 2016
1 parent 09bc985 commit 8206cf1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/tool_shed/util/metadata_util.py
Expand Up @@ -42,12 +42,6 @@ def get_dependencies_for_metadata_revision( app, metadata ):
dependencies.append( metadata_entry )
return dependencies

sa_session = app.model.context.current
results = sa_session.query( app.model.RepositoryDependency ) \
.filter( app.model.RepositoryDependency.table.c.parent_metadata_id == metadata_id ) \
.all()
return [ get_metadata_by_id( app, result.required_metadata_id ) for result in results ]


def get_latest_changeset_revision( app, repository, repo ):
repository_tip = repository.tip( app )
Expand Down

0 comments on commit 8206cf1

Please sign in to comment.