From 99aacb5de55172baebd08bbce5ce4f1dbbc6ff1a Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Tue, 8 Feb 2011 14:56:58 -0700 Subject: Trim the "- " out of clogs. (#675892) --- src/pyfedpkg/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit