summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0ce7303)
Signed-off-by: Mark Hymers <mhy@debian.org>
# Move the .changes into the 'done' directory
ye, mo, da = time.gmtime()[0:3]
# 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)
if not os.path.isdir(donedir):
os.makedirs(donedir)