From 368d4e5a8a27a99f980fd9a8674c4041804b55ca Mon Sep 17 00:00:00 2001 From: vk Date: Mon, 1 Jun 2009 17:38:45 +0200 Subject: [PATCH] bug found --- todos.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/todos.txt b/todos.txt index 8e4edbd..3c569d3 100644 --- a/todos.txt +++ b/todos.txt @@ -11,6 +11,19 @@ item = "20081231" -> "2008-12-31_20081231 reason: itemname is not recognised as datestamp because of missing space or dash or underscore after the datestamp. +[20090418][][][] renaming fails when item is in other directory + +bash-3.2$ date2name ~/tmp/4gary/blanche_data_du.txt +/Users/vk/tmp/4gary/blanche_data_du.txt > 2009-04-18_/Users/vk/tmp/4gary/blanche_data_du.txt +Traceback (most recent call last): + File "/Users/vk/bin/date2name", line 302, in + main() + File "/Users/vk/bin/date2name", line 292, in main + handle_item(item, formatstring) + File "/Users/vk/bin/date2name", line 240, in handle_item + os.rename(item, new_itemname) +OSError: [Errno 2] No such file or directory +bash-3.2$ -++####################### permanent entries ############################++-