Browse files

Fixed `ogrinspect` management commannd -- no longer try to pass the g…

…lobal `verbosity` option where it shouldn't go. Refs r9110.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 03070a9 commit 3784c7fac63eb9bbff7fe4b43da933a2607507fd @jbronn jbronn committed Oct 25, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 django/contrib/gis/management/commands/
@@ -97,6 +97,9 @@ def handle_args(self, *args, **options):
# Whether the user wants to generate the LayerMapping dictionary as well.
show_mapping = options.pop('mapping', False)
+ # Popping the verbosity global option, as it's not accepted by `_ogrinspect`.
+ verbosity = options.pop('verbosity', False)
# Returning the output of ogrinspect with the given arguments
# and options.
from django.contrib.gis.utils.ogrinspect import _ogrinspect, mapping

0 comments on commit 3784c7f

Please sign in to comment.