Tracebake if deleting a glob
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
A possibly misguided attempt to try a glob syntax causes a traceback:
[zaitcev@suzdal tests]$ PYTHONPATH=
Traceback (most recent call last):
File "/q/zaitcev/
sys.
File "/q/zaitcev/
globals(
File "/q/zaitcev/
if r.get('attempts') > 1 else '')
TypeError: '>' not supported between instances of 'NoneType' and 'int'
[zaitcev@suzdal tests]$
This happens on trunk, release tag 3.8.1.
If globbing is not supported, we ought to report a better error. Something like "not supported" would work. But I'll take "16* is not found", too.