1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #21267 -- Fixed E502 pep8 warnings

This commit is contained in:
Alasdair Nicol
2013-10-18 01:24:41 +01:00
parent dfb4cb9970
commit 65d1d65d52
11 changed files with 46 additions and 46 deletions

View File

@@ -271,7 +271,7 @@ class Deserializer(base.Deserializer):
model_identifier = node.getAttribute(attr)
if not model_identifier:
raise base.DeserializationError(
"<%s> node is missing the required '%s' attribute" \
"<%s> node is missing the required '%s' attribute"
% (node.nodeName, attr))
try:
Model = models.get_model(*model_identifier.split("."))
@@ -279,7 +279,7 @@ class Deserializer(base.Deserializer):
Model = None
if Model is None:
raise base.DeserializationError(
"<%s> node has invalid model identifier: '%s'" % \
"<%s> node has invalid model identifier: '%s'" %
(node.nodeName, model_identifier))
return Model