Commits

Takeshi Komiya committed 1a6f8fe

Fix SyntaxError when conf.py includes CR characters

Comments (0)

Files changed (1)

                 # config file is executed
                 os.chdir(dirname)
                 # get config source
-                f = open(config_file, 'rb')
+                f = open(config_file, 'rU')
                 try:
                     source = f.read()
                 finally: