changeset 3:92d05dfff3aa

Fix bug in database drop action cancellation handling.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 15 Jun 2011 11:05:07 +0200
parents 2c9d655fe0ab
children 2fd80a9ec3a2
files src/ltpdarepo/views/databases.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ltpdarepo/views/databases.py	Wed Jun 15 11:04:25 2011 +0200
+++ b/src/ltpdarepo/views/databases.py	Wed Jun 15 11:05:07 2011 +0200
@@ -77,7 +77,7 @@
             db.drop()
             flash('Database "%s" deleted.' % db.id)
             return redirect(url_for('manage.databases.index'))
-        flask.flash("Operation cancelled.")
+        flash("Operation cancelled.")
         return redirect(url_for('manage.databases.view', database=database))
     return render_template('databases/drop.html', database=db, form=form)