diff options
| author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-09-11 20:13:56 +0200 | 
|---|---|---|
| committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-09-11 20:13:56 +0200 | 
| commit | 57bb60d56cfba8567bf825bedafa24faea2a72de (patch) | |
| tree | 1bbfcdc1709a55f41f0f1b7187cdf948a68725fd | |
| parent | c2f9ae0655deba118a49d0a6a9edf3145beaf703 (diff) | |
Fixed a typo in recursive search.
| -rwxr-xr-x | anidb | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -97,7 +97,7 @@ while remaining:  				if sub.startswith('.'):  					continue  				sub = os.path.join(name, sub) -				if os.path.isfile(name) and any(sub.endswith('.' + suffix) for suffix in options.suffix): +				if os.path.isfile(sub) and any(sub.endswith('.' + suffix) for suffix in options.suffix):  					files.append(sub)  				elif os.path.isdir(sub):  					remaining.appendleft(sub) | 
