Author: jbronn
Date: 2008-10-25 14:16:45 -0500 (Sat, 25 Oct 2008)
New Revision: 9278
Modified:
django/trunk/django/contrib/gis/management/commands/ogrinspect.py
Log:
Fixed `ogrinspect` management commannd -- no longer try to pass the global
`verbosity` option where it shouldn't go. Refs r9110.
Modified: django/trunk/django/contrib/gis/management/commands/ogrinspect.py
===================================================================
--- django/trunk/django/contrib/gis/management/commands/ogrinspect.py
2008-10-24 19:18:10 UTC (rev 9277)
+++ django/trunk/django/contrib/gis/management/commands/ogrinspect.py
2008-10-25 19:16:45 UTC (rev 9278)
@@ -97,6 +97,9 @@
# 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---