emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ELPA-diffs] /srv/bzr/emacs/elpa r223: (scan_dir): Do not write empty ma


From: Glenn Morris
Subject: [ELPA-diffs] /srv/bzr/emacs/elpa r223: (scan_dir): Do not write empty maintainers to the maintfile.
Date: Wed, 23 May 2012 00:31:44 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 223
committer: Glenn Morris <address@hidden>
branch nick: elpa
timestamp: Wed 2012-05-23 00:31:44 -0700
message:
  (scan_dir): Do not write empty maintainers to the maintfile.
modified:
  admin/forward-diffs.py
=== modified file 'admin/forward-diffs.py'
--- a/admin/forward-diffs.py    2012-05-23 07:29:15 +0000
+++ b/admin/forward-diffs.py    2012-05-23 07:31:44 +0000
@@ -146,7 +146,8 @@
             scan_file(path, maints)
             ## This would skip printing empty maints.
             ## That would mean we would scan the file each time for no reason.
-##            if not maints: continue
+            ## But empty maintainers are an error at present.
+            if not maints: continue
             path = re.sub( '^%s' % dir, '', path )
             string = "%-50s %s\n" % (path, ",".join(maints))
             if fd:
@@ -227,6 +228,7 @@
 
 for line in mfile:
     if re.match( '#| *$', line ): continue
+    ## FIXME error here if empty maintainer.
     (pfile, maint) = line.split()
     maints[pfile] = maint.split(',')
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]