~divmod-dev/divmod.org/829866-explicit-close

« back to all changes in this revision

Viewing changes to Epsilon/epsilon/process.py

Merge lp:~divmod-dev/divmod.org/fix-deprecation-warnings.

Fix an assortment of DeprecationWarnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
Process and stdio related functionality.
6
6
"""
7
7
 
8
 
import os, sys, imp, sets
 
8
import os, sys, imp
9
9
 
10
10
from zope.interface import implements
11
11
 
35
35
        if p.startswith(os.path.join(sys.prefix, 'lib')):
36
36
            continue
37
37
        pythonpath.append(p)
38
 
    pythonpath = list(sets.Set(pythonpath))
 
38
    pythonpath = list(set(pythonpath))
39
39
    pythonpath.extend(env.get('PYTHONPATH', '').split(os.pathsep))
40
40
    env['PYTHONPATH'] = os.pathsep.join(pythonpath)
41
41