Ticket #1570 (closed defect: fixed)
trying to recursively delete a directory produces a stack trace
Reported by: | jweiss | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | The Distant Future |
Component: | -- | Keywords: | |
Cc: | Fixed in version: | debathena-delete 10.1.1-0debathena1 | |
Upstream bug: |
Description
Traceback (most recent call last):
File "/usr/bin/delete", line 191, in <module>
sys.exit(main())
File "/usr/bin/delete", line 185, in main
if not delete(filename.rstrip('/'), options):
File "/usr/bin/delete", line 110, in delete
is_empty = libdelete.empty_directory(filename)
NameError?: global name 'libdelete' is not defined
Exit 1
Change History
comment:2 Changed 9 years ago by jdreed
- Status changed from review to committed
committed b8a5c14c4a037157a8830f86e7b273d35f3113ee (Import libdelete) to master
Note: See
TracTickets for help on using
tickets.
https://github.com/mit-athena/delete/pull/3