~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup/configure.py

ivle.config.Config: __init__ now takes a 'blank' argument, which allows it to
    create a blank config without trying to load an existing one.
setup.configure: Now instantiates an ivle.config.Config(blank=True), rather
    than a generic configobj.ConfigObj.

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
 
332
332
    # Write ./etc/ivle.conf
333
333
 
334
 
    conf = configobj.ConfigObj()
 
334
    conf = ivle.config.Config(blank=True)
335
335
    conf.filename = conffile
336
336
 
337
337
    conf.initial_comment = ["# IVLE Configuration File"]