8 self
.certificate_path
= None
9 self
.certificate_name
= None
12 self
.upload_url
= None
13 self
.server_url
= None
16 def parse_config(config_file
):
17 config
= configparser
.ConfigParser()
18 config
.read(os
.path
.expanduser(config_file
))
21 updater_data
= config
['Updater']
22 data
.base_url
= updater_data
['base-url']
23 data
.certificate_name
= updater_data
['certificate-name']
24 data
.certificate_path
= updater_data
['certificate-path']
25 data
.channel
= updater_data
['channel']
26 data
.upload_url
= updater_data
['upload-url']
27 data
.server_url
= updater_data
["ServerURL"]