From ce0feed60b2077085a66d34021a3c96bbb7f5558 Mon Sep 17 00:00:00 2001 From: Prashanth Pai Date: Fri, 20 May 2016 19:33:20 +0530 Subject: Use scandir if available scandir[1] is a directory iteration function like os.listdir(), which can optimize os.walk() by avoiding unnecessary calls to os.stat() Using scandir to avoid stat() calls requires GlusterFS to correctly set d_type field of entries in readdir() responses[2]. [1] https://github.com/benhoyt/scandir [2] http://review.gluster.org/#/c/14095/ Change-Id: Ibdb9a07d25708b5cd8fd663ac99669e7f1f7ba75 Signed-off-by: Prashanth Pai Reviewed-on: http://review.gluster.org/14460 Reviewed-by: Thiago da Silva Tested-by: Thiago da Silva --- test-requirements.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test-requirements.txt') diff --git a/test-requirements.txt b/test-requirements.txt index 88ca936..27953e7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,10 +7,6 @@ hacking>=0.8.0,<0.9 coverage nose nosexcover -openstack.nose_plugin nosehtmloutput -oslosphinx -sphinx>=1.1.2,<1.2 mock>=1.0 python-swiftclient -prettytable # SOF -- cgit