summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/pyfedpkg/__init__.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index bd2a96d..cc8dd80 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -877,10 +877,6 @@ class PackageModule:
# Then remove any lines that start with $ or %, and then replace
# %% with %
- # This should probably change behavior from dist-cvs and not print
- # the first line with the date/name/version as git has that info
- # already and it would be redundant.
-
cloglines = []
spec = open(os.path.join(self.path, self.spec), 'r').readlines()
for line in spec:
@@ -893,6 +889,9 @@ class PackageModule:
continue
if line2.startswith('%'):
continue
+ if line2.startswith('*'):
+ # skip the email n/v/r line. Redundant
+ continue
cloglines.append(line2.replace('%%', '%'))
# Now open the clog file and write out the lines
clogfile = open(os.path.join(self.path, 'clog'), 'w')