Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(58)  |  Call(58)  |  Derive(0)  |  Import(0)

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/pip/vcs/subversion.py   antisocial(Download)
        data = f.read()
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]
            revs = [int(d[9]) for d in data if len(d) > 9 and d[9]] + [0]
        elif data.startswith('<?xml'):

src/r/o/rolf-HEAD/ve/lib/python2.7/site-packages/pip/vcs/subversion.py   rolf(Download)
        data = f.read()
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]
            revs = [int(d[9]) for d in data if len(d) > 9 and d[9]] + [0]
        elif data.startswith('<?xml'):

src/w/i/wizlang-HEAD/venv/lib/python2.7/site-packages/pip/vcs/subversion.py   wizlang(Download)
        data = f.read()
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]
            revs = [int(d[9]) for d in data if len(d) > 9 and d[9]] + [0]
        elif data.startswith('<?xml'):

src/d/d/ddocker-HEAD/bin/pex.venv/lib/python2.7/site-packages/pip/vcs/subversion.py   ddocker(Download)
        data = f.read()
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]
            revs = [int(d[9]) for d in data if len(d) > 9 and d[9]] + [0]
        elif data.startswith('<?xml'):

src/h/e/heroku-buildpack-python-HEAD/vendor/pip-1.5.4/pip/vcs/subversion.py   heroku-buildpack-python(Download)
        data = f.read()
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]
            revs = [int(d[9]) for d in data if len(d) > 9 and d[9]] + [0]
        elif data.startswith('<?xml'):

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/setuptools/command/egg_info.py   antisocial(Download)
            f.close()
 
            if data.startswith('<?xml'):
                dirurl = urlre.search(data).group(1)    # get repository URL
                localrev = max([int(m.group(1)) for m in revre.finditer(data)]+[0])

src/w/e/weblogo-3.3/corebio/seq_io/_nexus/__init__.py   weblogo(Download)
        if 'symbols' in options:
            self.symbols=options['symbols']
            if (self.symbols.startswith('"') and self.symbols.endswith('"')) or\
            (self.symbold.startswith("'") and self.symbols.endswith("'")):
                self.symbols=self.symbols[1:-1].replace(' ','')

src/z/e/ZenPacks.zenoss.OpenStack-HEAD/src/pip-1.4.1/pip/vcs/subversion.py   ZenPacks.zenoss.OpenStack(Download)
        data = f.read()
        f.close()
        if data.startswith('8') or data.startswith('9') or data.startswith('10'):
            data = list(map(str.splitlines, data.split('\n\x0c\n')))
            del data[0][0]  # get rid of the '8'
            url = data[0][3]
            revs = [int(d[9]) for d in data if len(d) > 9 and d[9]] + [0]
        elif data.startswith('<?xml'):

src/r/o/rolf-HEAD/ve/lib/python2.7/site-packages/setuptools/command/egg_info.py   rolf(Download)
            f.close()
 
            if data.startswith('<?xml'):
                dirurl = urlre.search(data).group(1)    # get repository URL
                localrev = max([int(m.group(1)) for m in revre.finditer(data)]+[0])

src/b/i/biopython-HEAD/Bio/Nexus/Nexus.py   biopython(Download)
        if 'symbols' in options:
            self.symbols = options['symbols']
            if (self.symbols.startswith('"') and self.symbols.endswith('"')) or\
            (self.symbold.startswith("'") and self.symbols.endswith("'")):
                self.symbols = self.symbols[1:-1].replace(' ', '')

  1 | 2 | 3  Next