Skip to content

Commit

Permalink
cli: fix drop tables wrong indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
  • Loading branch information
egabancho committed Jun 2, 2017
1 parent d29667b commit 502a2cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invenio_db/cli.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2015, 2016 CERN.
# Copyright (C) 2015, 2016, 2017 CERN.
#
# Invenio is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -87,7 +87,7 @@ def drop(verbose):
for table in bar:
if verbose:
click.echo(' Dropping table {0}'.format(table))
table.drop(bind=_db.engine, checkfirst=True)
table.drop(bind=_db.engine, checkfirst=True)
drop_alembic_version_table()
click.secho('Dropped all tables!', fg='green')

Expand Down

0 comments on commit 502a2cc

Please sign in to comment.