removed flsize variable
authorWall <wall@gmail.com>
Sat, 28 Feb 2009 15:50:18 +0000 (15:50 +0000)
committerWall <wall@gmail.com>
Sat, 28 Feb 2009 15:50:18 +0000 (15:50 +0000)
src/findit.py

index 09feebd..c04b5d2 100755 (executable)
@@ -68,9 +68,8 @@ def filegetter(startdir, obj):
                 raise StopIteration
             # Проверяем можем ли мы определить размер файла - иначе пропускаем его
             try:
-                flsize = getsize(flpath)
                 # Возвращаем размер и полный путь файла
-                yield flsize, flpath
+                yield getsize(flpath), flpath
             except OSError:
                 continue