• Paul Wise's avatar
    Do not try to remove sha1 cache and changelog files that do not exist · 78d400f7
    Paul Wise authored
    Traceback (most recent call last):
      File "bin/remove-obsolete-new-packages", line 178, in <module>
        remove(sha1_cache_path, 'file from sha1 cache')
      File "bin/remove-obsolete-new-packages", line 122, 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'
    
    Traceback (most recent call last):
      File "bin/remove-obsolete-new-packages", line 181, in <module>
        remove(changelog_path, 'changelog file')
      File "bin/remove-obsolete-new-packages", line 122, 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'
    78d400f7
Name
Last commit
Last update
bin Loading commit data...
doc Loading commit data...
etc Loading commit data...
lib/python/census Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
Makefile.deriv Loading commit data...
Makefile.var Loading commit data...
README.md Loading commit data...