Skip to content

Commit

Permalink
Be quiet only if they are no import warning in non verbose mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gutard committed Aug 7, 2015
1 parent e8e8b5d commit 0d6fef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrek/common/management/commands/import.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def progress_cb(progress, line, eid):
except ImportError as e:
raise CommandError(e)

if verbosity >= 1:
if verbosity >= 1 or parser.warnings:
self.stdout.write(parser.report())

0 comments on commit 0d6fef3

Please sign in to comment.