1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 22:56:15 +01:00
- fixed new_conf_template: commented out new 'http_headers' options
This commit is contained in:
Marcus Hüwe 2008-08-21 18:17:40 +00:00
parent b46c000b61
commit a8181f7087
2 changed files with 3 additions and 4 deletions

View File

@ -76,7 +76,7 @@ class Osc(cmdln.Cmdln):
config['user'] = raw_input('Username: ')
config['pass'] = getpass.getpass()
conf.write_initial_config(e.file, config, True)
conf.write_initial_config(e.file, config)
print >>sys.stderr, 'done'
if try_again: self.postoptparse(try_again = False)
except oscerr.ConfigMissingApiurl, e:

View File

@ -115,9 +115,8 @@ new_conf_template = """
user = %(user)s
pass = %(pass)s
# additional headers to pass to a request, e.g. for special authentication
http_headers = Host: foofoobar,
User: mumblegack
],
#http_headers = Host: foofoobar,
# User: mumblegack
"""