summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-02-08 14:56:58 -0700
committerJesse Keating <jkeating@redhat.com>2011-02-08 14:56:58 -0700
commit99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a (patch)
tree0e325f004a5557b4957284323a226f0d42dbf7a4 /src
parentec8c530a7004f426abc15b1088de7e0dc315d0e7 (diff)
downloadfedora-packager-99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a.zip
fedora-packager-99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a.tar.gz
fedora-packager-99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a.tar.xz
Trim the "- " out of clogs. (#675892)
Diffstat (limited to 'src')
-rw-r--r--src/pyfedpkg/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index 96f8fc9..fadcfb1 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -1297,7 +1297,7 @@ class PackageModule:
if line2.startswith('*'):
# skip the email n/v/r line. Redundant
continue
- cloglines.append(line2.replace('%%', '%'))
+ cloglines.append(line2.lstrip('- ').replace('%%', '%'))
# Now open the clog file and write out the lines
clogfile = open(os.path.join(self.path, 'clog'), 'w')
clogfile.writelines(cloglines)