details: http://www.bx.psu.edu/hg/galaxy/rev/2cf304a0c1c6 changeset: 1627:2cf304a0c1c6 user: guru date: Wed Nov 12 10:16:04 2008 -0500 description: Fixed an indentation bug in incorrect_gops_jobs script. 1 file(s) affected in this change: scripts/others/incorrect_gops_jobs.py diffs (30 lines): diff -r ddad87f713cc -r 2cf304a0c1c6 scripts/others/incorrect_gops_jobs.py --- a/scripts/others/incorrect_gops_jobs.py Tue Nov 11 16:33:50 2008 -0500 +++ b/scripts/others/incorrect_gops_jobs.py Wed Nov 12 10:16:04 2008 -0500 @@ -6,14 +6,11 @@ from galaxy import eggs import sys, os, ConfigParser import galaxy.app -#from galaxy.util.bunch import Bunch - import galaxy.model.mapping import pkg_resources pkg_resources.require( "SQLAlchemy >= 0.4" ) import sqlalchemy as sa -#from sqlalchemy.orm import * assert sys.version_info[:2] >= ( 2, 4 ) @@ -53,10 +50,9 @@ ), sa.not_(app.model.Job.table.c.command_line.like('%-2 1,2,3%')) )).all(): - for od in job.output_datasets: + for od in job.output_datasets: ds = app.model.Dataset.get(od.dataset_id) if not ds.deleted: - #hda = app.model.HistoryDatasetAssociation.filter(app.model.HistoryDatasetAssociation.table.c.dataset_id == ds.id)[0] for hda in ds.history_associations: hist = app.model.History.get(hda.history_id) if hist.user_id: