Commits

Chris McDonough  committed bfa176b

line lengths

  • Participants
  • Parent commits 31cfd22

Comments (0)

Files changed (1)

File webob/response.py

     def _body__set(self, value=''):
         if not isinstance(value, str):
             if isinstance(value, unicode):
-                msg = "You cannot set Response.body to a unicode object (use Response.text)"
+                msg = ("You cannot set Response.body to a unicode object "
+                       "(use Response.text)")
             else:
-                msg = "You can only set the body to a str (not %s)" % type(value)
+                msg = ("You can only set the body to a str (not %s)" %
+                       type(value))
             raise TypeError(msg)
         if self._app_iter is not None:
             self.content_md5 = None