Skip to content
Unverified Commit 090177c2 authored by Paul Wise's avatar Paul Wise
Browse files

Do not try to remove symlinks for sha1 hash type

The sha1 hash type is the target of symlinks,
not a source of symlinks.

Traceback (most recent call last):
  File "bin/remove-obsolete-new-packages", line 178, in <module>
    remove(hash_cache_path, 'symlink from %s cache' % hash_type)
  File "bin/remove-obsolete-new-packages", line 121, in remove
    os.rmdir(os.path.dirname(path))
  File "/usr/lib/python3.5/posixpath.py", line 148, in dirname
    i = p.rfind(sep) + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
parent 32b4dd28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment