environment/lib/python2.7/site-packages/distribute-0.6.31-py2.7.egg/pkg_resources.py
def add(self,dist):
        """Add `dist` if we ``can_add()`` it and it isn't already added"""
        if self.can_add(dist) and dist.has_version():
            dists = self._distmap.setdefault(dist.key,[])
            if dist not in dists:
                dists.append(dist)
                if dist.key in self._cache:
                    _sort_dists(self._cache[dist.key])
def add(self,dist):
        """Add `dist` if we ``can_add()`` it and it isn't already added"""
        if self.can_add(dist) and dist.has_version():
            dists = self._distmap.setdefault(dist.key,[])
            if dist not in dists:
                dists.append(dist)
                if dist.key in self._cache:
                    _sort_dists(self._cache[dist.key])
def add ( self , dist ) : if self . can_add ( dist ) and dist . has_version ( ) : dists = self . _distmap . setdefault ( dist . key , [ ] ) if dist not in dists : dists . append ( dist ) if dist . key in self . _cache : _sort_dists ( self . _cache [ dist . key ] )
Add `dist` if we ``can_add()`` it and it isn't already added
Add dist if we can_add () it and it isn t already added