Skip to content
Snippets Groups Projects
Commit 02ef35c7 authored by Piotr Ożarowski's avatar Piotr Ożarowski
Browse files

define to_check

parent a72ccb07
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,8 @@ def load(dname='/usr/share/python/dist/', fname='debian/pydist-overrides'):
"""Load iformation about installed Python distributions."""
if exists(fname):
to_check = [fname] # first one!
else:
to_check = []
if isdir(dname):
to_check.extend(join(dname, i) for i in os.listdir(dname))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment