Skip to content

Commit

Permalink
Merge pull request galaxyproject#480 from nsoranzo/dev
Browse files Browse the repository at this point in the history
Fix last SQLAlchemy comparison broken during flake8'ing.
  • Loading branch information
dannon committed Jul 21, 2015
2 parents 0a9a2f8 + 4ba3cf2 commit 54368b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/jobs/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def __monitor_step( self ):
.join(model.LibraryDatasetDatasetAssociation) \
.join(model.Dataset) \
.filter(and_((model.Job.state == model.Job.states.NEW),
or_((model.LibraryDatasetDatasetAssociation._state is not None),
or_((model.LibraryDatasetDatasetAssociation._state != null()),
(model.LibraryDatasetDatasetAssociation.deleted == true()),
(model.Dataset.state != model.Dataset.states.OK),
(model.Dataset.deleted == true())))).subquery()
Expand Down

0 comments on commit 54368b1

Please sign in to comment.