Message7364
Hi John,
you are definitely right, we should solve the infinite loop ;)
its happening here:
> while tail != 'lib' and head != '':
> head, tail = os.path.split(head)
>>> get_path("platlib")
'/home/pr/work/projects/5t-roundup/ve2/lib64/python2.7/site-packages'
it consumes everything (as no "lib" anywhere) and stays at head == "/"
>>> os.path.split ("/")
('/', '')
so maybe exit the loop with "error" if head == "/" and tail == ""
regards,
marcus. |
|
Date |
User |
Action |
Args |
2021-11-09 18:12:55 | marcus.priesch | set | recipients:
+ marcus.priesch, rouilj |
2021-11-09 18:12:55 | marcus.priesch | link | issue2551169 messages |
2021-11-09 18:12:55 | marcus.priesch | create | |
|