[galaxy-dev] [hg] galaxy 3350: typo

Greg Von Kuster greg at bx.psu.edu
Tue Feb 9 11:29:20 EST 2010


details:   http://www.bx.psu.edu/hg/galaxy/rev/4af74d038535
changeset: 3350:4af74d038535
user:      Kanwei Li <kanwei at gmail.com>
date:      Fri Feb 05 19:35:52 2010 -0500
description:
typo

diffstat:

 lib/galaxy/web/controllers/tracks.py |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 432a32ba55bb -r 4af74d038535 lib/galaxy/web/controllers/tracks.py
--- a/lib/galaxy/web/controllers/tracks.py	Fri Feb 05 19:08:37 2010 -0500
+++ b/lib/galaxy/web/controllers/tracks.py	Fri Feb 05 19:35:52 2010 -0500
@@ -121,7 +121,11 @@
         latest_revision = vis.latest_revision
         tracks = []
         
-        dbkey = latest_revision.config['dbkey']
+        try:
+            dbkey = latest_revision.config['dbkey']
+        except KeyError:
+            dbkey = None
+        
         hda_query = session.query( model.HistoryDatasetAssociation )
         for t in vis.latest_revision.config['tracks']:
             dataset_id = t['dataset_id']


More information about the galaxy-dev mailing list