mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-13 08:01:09 +00:00
syncpackage: Don't add quotation marks to changelog entries (LP: #668805).
This commit is contained in:
parent
fffcab6392
commit
b403dedbfb
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -30,9 +30,11 @@ ubuntu-dev-tools (0.105) UNRELEASED; urgency=low
|
||||
Debian chroot, working around #599695
|
||||
|
||||
[ Benjamin Drung ]
|
||||
* syncpackage: Don't crash if environment variables aren't set (LP: #665202).
|
||||
* syncpackage:
|
||||
- Don't crash if environment variables aren't set (LP: #665202).
|
||||
- Don't add quotation marks to changelog entries (LP: #668805).
|
||||
|
||||
-- Benjamin Drung <skipper@deep-thought> Sat, 30 Oct 2010 19:12:08 +0200
|
||||
-- Benjamin Drung <bdrung@ubuntu.com> Sat, 30 Oct 2010 19:56:33 +0200
|
||||
|
||||
ubuntu-dev-tools (0.104) experimental; urgency=low
|
||||
|
||||
|
11
syncpackage
11
syncpackage
@ -109,11 +109,14 @@ class Version(debian.debian_support.Version):
|
||||
return self.full_version.find('ubuntu') > 0
|
||||
|
||||
|
||||
def quote_parameter(parameter):
|
||||
if parameter.find(" ") >= 0:
|
||||
return '"' + parameter + '"'
|
||||
else:
|
||||
return parameter
|
||||
|
||||
def print_command(script_name, cmd):
|
||||
for i in xrange(len(cmd)):
|
||||
if cmd[i].find(" ") >= 0:
|
||||
cmd[i] = '"' + cmd[i] + '"'
|
||||
print "%s: I: %s" % (script_name, " ".join(cmd))
|
||||
print "%s: I: %s" % (script_name, " ".join(map(quote_parameter, cmd)))
|
||||
|
||||
def remove_signature(dscname, script_name=None, verbose=False):
|
||||
'''Removes the signature from a .dsc file if the .dsc file is signed.'''
|
||||
|
Loading…
x
Reference in New Issue
Block a user