mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Removed wierd line
This commit is contained in:
parent
3261eca836
commit
6e8509a0ba
1 changed files with 1 additions and 2 deletions
|
@ -26,8 +26,7 @@ TIME_WAIT = 1.0 #sec
|
|||
# return in bytes
|
||||
def check_index_size(indexname):
|
||||
global baseindexpath
|
||||
the_index_name = indexname if indexname != "0" else "old_index"
|
||||
the_index_name = join(baseindexpath, the_index_name)
|
||||
the_index_name = join(baseindexpath, indexname)
|
||||
cur_sum = 0
|
||||
for root, dirs, files in os.walk(the_index_name):
|
||||
cur_sum += sum(getsize(join(root, name)) for name in files)
|
||||
|
|
Loading…
Reference in a new issue