Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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: http://code.djangoproject.com/svn/django/trunk@9278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3784c7fac63eb9bbff7fe4b43da933a2607507fd 1 parent 03070a9
@jbronn jbronn authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/contrib/gis/management/commands/ogrinspect.py
View
3  django/contrib/gis/management/commands/ogrinspect.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.