pgconsole/config.py
changeset 11 bc69eca59041
parent 10 f3a1b9792cc9
equal deleted inserted replaced
10:f3a1b9792cc9 11:bc69eca59041
    66 cfg = Config()
    66 cfg = Config()
    67 
    67 
    68 
    68 
    69 if __name__ == '__main__':
    69 if __name__ == '__main__':
    70     cfg.load('../psqlconsole.xml.gz')
    70     cfg.load('../psqlconsole.xml.gz')
    71     print cfg.root.servers.server[0].host.text
    71     print(cfg.root.servers.server[0].host.text)
    72     cfg.save()
    72     cfg.save()
    73 
    73