Andrew Godwin committed 7dc7f1e Merge

Branch merge

Comments (0)

Files changed (1)


     # Now, ask the parser to have a look at this model too.
         parser_fields = modelsparser.get_model_fields(model, m2m) or {}
-    except TypeError: # Almost certainly a not-real module
+    except (TypeError, IndentationError): # Almost certainly a not-real module
         parser_fields = {}
     # Now, go through all the fields and try to get their definition
     return meta_def
 # Now, load the built-in South introspection plugins
-import south.introspection_plugins
+import south.introspection_plugins