~myers-1/pyopenssl/npn

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jean-Paul Calderone
  • Date: 2008-03-05 03:20:06 UTC
  • Revision ID: exarkun@boson-20080305032006-gsk8rsde0cfyitf9
Remove some more anachronisms

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    _Extension = Extension
28
28
    class Extension(_Extension):
29
29
        def __init__(self, name, sources, **kwargs):
30
 
            if kwargs.has_key('depends'):
31
 
                del kwargs['depends']
 
30
            kwargs.pop('depends', None)
32
31
            _Extension.__init__(self, name, sources, **kwargs)
33
32
 
34
33