1. Michał Górny
  2. flaggie
  3. Issues
Issue #5 new

flaggie --migrate-files breaks if there is no /etc/portage/package.keywords

jlec
created an issue
# flaggie --migrate-files
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/flaggie", line 25, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib64/python2.7/site-packages/flaggie/cli.py", line 201, in main
    pfiles.write()
  File "/usr/lib64/python2.7/site-packages/flaggie/packagefile.py", line 422, in write
    f.write()
  File "/usr/lib64/python2.7/site-packages/flaggie/packagefile.py", line 379, in write
    PackageFileSet.write(*((self,) + args))
  File "/usr/lib64/python2.7/site-packages/flaggie/packagefile.py", line 277, in write
    f.write()
  File "/usr/lib64/python2.7/site-packages/flaggie/packagefile.py", line 181, in write
    os.unlink(self.path)
OSError: [Errno 2] No such file or directory: '/etc/portage/package.keywords'

Comments (1)

  1. Log in to comment