Dave Angel <da...@davea.name> writes:

>>    # Compute a set of current fullpaths
>>    current_fullpaths = set()
>>    for root, dirs, files in os.walk(path):
>>      for fullpath in files:
>
> 'fullpath' is a rather misleading name to use, since the 'files' list
> contains only the terminal node of the file name.  It's only a full
> path after you do the following join.

Yes, you're right. 

Dunno what urged me to ``M-x replace-string file fullpath`` introducing
both an error and a bad variable name, most probably the unconscious
desire of not clobbering builtin names... :-)

Thanks for pointing it out,
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