diff options
author | Jesse Keating <jkeating@redhat.com> | 2011-02-08 14:56:58 -0700 |
---|---|---|
committer | Jesse Keating <jkeating@redhat.com> | 2011-02-08 14:56:58 -0700 |
commit | 99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a (patch) | |
tree | 0e325f004a5557b4957284323a226f0d42dbf7a4 | |
parent | ec8c530a7004f426abc15b1088de7e0dc315d0e7 (diff) | |
download | fedora-packager-99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a.tar.gz fedora-packager-99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a.tar.xz fedora-packager-99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a.zip |
Trim the "- " out of clogs. (#675892)
-rw-r--r-- | src/pyfedpkg/__init__.py | 2 |
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) |