~sambuddhabasu1/mailman/fix_mailman_run_error

« back to all changes in this revision

Viewing changes to conf.py

  • Committer: Barry Warsaw
  • Date: 2012-03-28 22:18:57 UTC
  • Revision ID: barry@list.org-20120328221857-6gfzt9mhsk8gzf39
Fix a few typos, and the creation of index.html symlink to make PyPI happy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
            if error.errno != errno.EEXIST:
231
231
                raise
232
232
        os.chdir('build/sphinx/html')
233
 
        os.symlink('README.html', 'index.html')
234
 
        print 'index.html -> README.html'
 
233
        try:
 
234
            os.symlink('README.html', 'index.html')
 
235
            print 'index.html -> README.html'
 
236
        except OSError as error:
 
237
            if error.errno != errno.EEXIST:
 
238
                raise
235
239
    finally:
236
240
        os.chdir(cwd)
237
241