From 1c46fa731a54d733a1d0102ddb79c5a970c14aeb Mon Sep 17 00:00:00 2001
From: Mark Hymers <mhy@debian.org>
Date: Thu, 24 Mar 2011 21:38:47 +0000
Subject: [PATCH] 0 pad month and day

Signed-off-by: Mark Hymers <mhy@debian.org>
---
 daklib/queue.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daklib/queue.py b/daklib/queue.py
index 20a8ddf4..0d9ca5e1 100755
--- a/daklib/queue.py
+++ b/daklib/queue.py
@@ -2189,7 +2189,7 @@ distribution."""
 
         # Move the .changes into the 'done' directory
         ye, mo, da = time.gmtime()[0:3]
-        donedir = os.path.join(cnf["Dir::Queue::Done"], str(ye), str(mo), str(da))
+        donedir = os.path.join(cnf["Dir::Queue::Done"], str(ye), "%0.2d" % mo, "%0.2d" % da)
         if not os.path.isdir(donedir):
             os.makedirs(donedir)
 
-- 
2.39.5