[Collab-qa-commits] r918 - upload-history
filippo at alioth.debian.org
filippo at alioth.debian.org
Mon Jul 21 17:08:45 UTC 2008
Author: filippo
Date: 2008-07-21 17:08:45 +0000 (Mon, 21 Jul 2008)
New Revision: 918
Modified:
upload-history/munge_ddc.py
Log:
store basename instead of full path
Modified: upload-history/munge_ddc.py
===================================================================
--- upload-history/munge_ddc.py 2008-07-14 01:40:12 UTC (rev 917)
+++ upload-history/munge_ddc.py 2008-07-21 17:08:45 UTC (rev 918)
@@ -10,6 +10,7 @@
import os
import cPickle
+from os.path import basename
from debian_bundle import deb822
msgid_cache = "msgid_cache.db"
@@ -82,7 +83,7 @@
continue
else:
# store the filename as value if purging is needed
- m_cache[msgid] = mb_file
+ m_cache[msgid] = basename(mb_file)
body = msg.get_payload(decode=True).split('\n')
More information about the Collab-qa-commits
mailing list