Home | History | Annotate | Download | only in server2

Lines Matching refs:versions

14   def __init__(self, versions, channels):
15 ''' Parameters: |version| is a mapping of versions to branches, and
16 |channels| is a mapping of channels to versions.
18 self._versions = versions
50 versions = self._versions.keys()
51 index = versions.index(channel_info.version)
52 if index == len(versions) - 1:
54 version = versions[index + 1]
60 versions = self._versions.keys()
61 index = versions.index(channel_info.version)
64 version = versions[index - 1]