Commits

Dmitry Shachnev committed ca17ce0

Fix formatting

  • Participants
  • Parent commits 6290ad6

Comments (0)

Files changed (2)

File sphinx/setup_command.py

             from docutils.utils import SystemMessage
             if isinstance(err, SystemMessage):
                 print(darkred('reST markup error:'), file=sys.stderr)
-                print(err.args[0].encode('ascii',
-                                                       'backslashreplace'), file=sys.stderr)
+                print(err.args[0].encode('ascii', 'backslashreplace'),
+                      file=sys.stderr)
             else:
                 raise
 

File sphinx/util/docfields.py

                 # filter out only inline nodes; others will result in invalid
                 # markup being written out
                 content = [n for n in content if isinstance(n, nodes.Inline) or
-                              isinstance(n, nodes.Text)]
+                           isinstance(n, nodes.Text)]
                 if content:
                     types.setdefault(typename, {})[fieldarg] = content
                 continue