1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

- OscConfigParser: don't interpolate continuation lines

This commit is contained in:
Marcus Huewe 2010-11-14 18:53:14 +01:00
parent ca794fe87f
commit 4a8a495849
2 changed files with 8 additions and 3 deletions

View File

@ -248,7 +248,8 @@ class OscConfigParser(ConfigParser.SafeConfigParser):
if cursect == ConfigParser.DEFAULTSECT:
self._defaults[optname] = "%s\n%s" % (self._defaults[optname], value)
else:
self._sections[cursect]._find(optname).value = '%s\n%s' % (self.get(cursect, optname), value)
# use the raw value here (original version uses raw=False)
self._sections[cursect]._find(optname).value = '%s\n%s' % (self.get(cursect, optname, raw=True), value)
# a section header or option header?
else:
# is it a section header?

View File

@ -260,10 +260,14 @@ apiurl = %(apiurl)s
#submitrequest_on_accept_action = cleanup|update|noupdate
# template for an accepted submitrequest
#submitrequest_accepted_template = Hi %%(who)s,\\nthanks for working on %%(dst_project)s/%%(dst_package)s. SR %%(reqid)s has been accepted.\\n\\nYour maintainers
#submitrequest_accepted_template = Hi %%(who)s,\\n
# thanks for working on:\\t%%(dst_project)s/%%(dst_package)s.
# SR %%(reqid)s has been accepted.\\n\\nYour maintainers
# template for a declined submitrequest
#submitrequest_declined_template = Hi %%(who)s,\\nsorry your SR %%(reqid)s for %%(dst_project)s/%%(dst_package)s has been declined because ...
#submitrequest_declined_template = Hi %%(who)s,\\n
# sorry your SR %%(reqid)s (request type: %%(type)s) for
# %%(dst_project)s/%%(dst_package)s has been declined because...
#review requests interactively (default: off)
#request_show_review = 1