Sorry, I am not git/github user. Feel free to use the code from my e-mails, or your own fixes (as I said, my python skills are close to zero).
On Sat, 4 Apr 2015 00:10:47 +0200 klaute <kla...@gmx.de> wrote: > Thanks for the comments!!! > > Feel free to send me a diff/patch file with your suggestions... > I will import these in the next days. > > > Also, another bug is not supporting the spaces in the file names. > > > > The code: > > > > if 1 == toadd: > > tstr = line.split(" ") > > tmpdata["file"] = tstr[1] > > log.append(copy.deepcopy(tmpdata)) > > > > Should be: > > > > if 1 == toadd: > > tstr = line.split(" ", 1) # Only one split. > > tmpdata["file"] = tstr[1] > > # sys.stderr.write(tmpdata["file"]+"\n") > > log.append(copy.deepcopy(tmpdata)) > > > > > > > > On Sat, 4 Apr 2015 00:49:24 +0300 > > John Found <johnfo...@asm32.info> wrote: > > > > > There seems to be at least one bug in the script. The line: > > > > > > log.append(tmpdata) > > > > > > ...should be something like: > > > > > > log.append(copy.deepcopy(tmpdata)) > > > > > > ...well, at least according to my very low python skills. > > > > > > Otherwise, adding a new entry to log changes the previous ones and > > > this way creates duplicate items instead of the really changed > > > files. > > > > > > As I said, I don't know python, so maybe there is better > > > solution... > > > -- http://fresh.flatassembler.net http://asm32.info John Found <johnfo...@asm32.info> _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users