New issue 355: Infinite loop in find_repository_root() with missing files
https://bitbucket.org/blais/beancount/issues/355/infinite-loop-in-find_repository_root-with

Martin Michlmayr:

find_repository_root() in beancount/utils/test_utils.py does:

```
    while not all(path.exists(path.join(filename, sigfile))
                  for sigfile in ('PKGINFO', 'COPYING', 'README')):
        filename = path.dirname(filename)
```

This ends up in an infinite loop looking at `/` if for some reason someone 
accidentally
removed one of these 3 files.


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20181224161000.7343.47906%40celery-worker-109.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to