# HG changeset patch # User Daniele Nicolodi # Date 1308128707 -7200 # Node ID 92d05dfff3aa6a1091d6f1119f58781aa351859b # Parent 2c9d655fe0ab8189a9db681d361c9544b4968482 Fix bug in database drop action cancellation handling. diff -r 2c9d655fe0ab -r 92d05dfff3aa src/ltpdarepo/views/databases.py --- 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)