Unverified Commit f3ba9e2b authored by John Chilton's avatar John Chilton Committed by GitHub
Browse files

Merge pull request #6796 from dannon/peek_drop

[16.01] Drop unused peek method
parents 2207e7f8 814c7f92
......@@ -266,20 +266,6 @@ class RootController( controller.JSAppLauncher, UsesAnnotations ):
return "No data with id=%d" % id
def peek(self, trans, id=None):
"""Returns a 'peek' at the data.
# TODO: unused?
# TODO: unencoded id
data = trans.sa_session.query( self.app.model.HistoryDatasetAssociation ).get( id )
if data:
yield "<html><body><pre>"
yield data.peek
yield "</pre></body></html>"
yield "No data with id=%d" % id
# ---- History management -----------------------------------------------
def history_delete( self, trans, id ):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment