~barry/mailman/events-and-web

« back to all changes in this revision

Viewing changes to conf.py

 * Some additional documentation on related components such as Postorius and
   hyperkitty have been added, given by Stephen J Turnbull.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
    import errno
225
225
    cwd = os.getcwd()
226
226
    try:
227
 
        os.makedirs('build/sphinx/html')
 
227
        try:
 
228
            os.makedirs('build/sphinx/html')
 
229
        except OSError as error:
 
230
            if error.errno != errno.EEXIST:
 
231
                raise
228
232
        os.chdir('build/sphinx/html')
229
233
        os.symlink('README.html', 'index.html')
230
234
        print 'index.html -> README.html'
231
 
    except OSError as error:
232
 
        if error.errno != errno.EEXIST:
233
 
            raise
234
235
    finally:
235
236
        os.chdir(cwd)
236
237