capybara/virtualenv/lib/python2.7/site-packages/pip/index.py
def _sort_links(self, links):
        """
        Returns elements of links in order, non-egg links first, egg links
        second, while eliminating duplicates
        """
        eggs, no_eggs = [], []
        seen = set()
        for link in links:
            if link not in seen:
                seen.add(link)
                if link.egg_fragment:
                    eggs.append(link)
                else:
                    no_eggs.append(link)
        return no_eggs + eggs
def _sort_links(self, links):
        eggs, no_eggs = [], []
        seen = set()
        for link in links:
            if link not in seen:
                seen.add(link)
                if link.egg_fragment:
                    eggs.append(link)
                else:
                    no_eggs.append(link)
        return no_eggs + eggs
def _sort_links ( self , links ) : eggs , no_eggs = [ ] , [ ] seen = set ( ) for link in links : if link not in seen : seen . add ( link ) if link . egg_fragment : eggs . append ( link ) else : no_eggs . append ( link ) return no_eggs + eggs
Returns elements of links in order, non-egg links first, egg links
        second, while eliminating duplicates
Returns elements of links in order non - egg links first egg links second while eliminating duplicates