Visitar URL original
Only use iglob if we really can · coolcoding/bpython@77506c1 · GitHub
Skip to content

Commit 77506c1

Browse files
committed
Only use iglob if we really can
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 601df71 commit 77506c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎bpython/autocomplete.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def safe_glob(self, pathname):
167167
else:
168168
def safe_glob(self, pathname):
169169
try:
170-
return glob.iglob(pathname + '*')
170+
return glob.glob(pathname + '*')
171171
except re.error:
172172
# see #491
173173
return tuple()

0 commit comments

Comments
 (0)