[121465] users/jmr/delete_old_archives/delete_old_archives.py

jmr at macports.org jmr at macports.org
Wed Jun 25 19:39:38 PDT 2014


Revision: 121465
          https://trac.macports.org/changeset/121465
Author:   jmr at macports.org
Date:     2014-06-25 19:39:38 -0700 (Wed, 25 Jun 2014)
Log Message:
-----------
process archives with no currentVersion, don't ignore

Modified Paths:
--------------
    users/jmr/delete_old_archives/delete_old_archives.py

Modified: users/jmr/delete_old_archives/delete_old_archives.py
===================================================================
--- users/jmr/delete_old_archives/delete_old_archives.py	2014-06-26 01:40:15 UTC (rev 121464)
+++ users/jmr/delete_old_archives/delete_old_archives.py	2014-06-26 02:39:38 UTC (rev 121465)
@@ -53,7 +53,7 @@
                 if archiveFilename.endswith('.rmd160') or currentVersions[portdir].match(archiveFilename):
                     continue
             except KeyError:
-                continue
+                pass
             archivePath = os.path.join(portDirPath, archiveFilename)
             if os.path.isfile(archivePath):
                 thisAge = now - os.path.getmtime(archivePath)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140625/1dbe31a2/attachment.html>


More information about the macports-changes mailing list