Νίκος Γκρ33κ <nikos.gr...@gmail.com> writes:

> Its about the following line of code:
>
> current_fullpaths.add( os.path.join(root, files) )

I'm sorry, typo on my part. 

That should have been "fullpath", not "file" (and neither "files" as you
wrongly reported back!):

  # Compute a set of current fullpaths
  current_fullpaths = set()
  for root, dirs, files in os.walk(path):
    for fullpath in files:
      current_fullpaths.add(os.path.join(root, fullpath))

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
l...@metapensiero.it  |                 -- Fortunato Depero, 1929.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to