rest.py

changeset 112
cdafc1a0544e
parent 100
2a56ccf67782
child 120
9880bb697149
equal deleted inserted replaced
111:44d9aea72947 112:cdafc1a0544e
15 g_credentials = None 15 g_credentials = None
16 g_portnumber = None 16 g_portnumber = None
17 g_throttle = [] 17 g_throttle = []
18 18
19 valid_repos = ['Torr_Samaho/zandronum', 'Torr_Samaho/zandronum-stable', 19 valid_repos = ['Torr_Samaho/zandronum', 'Torr_Samaho/zandronum-stable',
20 'crimsondusk/zandronum-sandbox', 'crimsondusk/zandronum-sandbox-stable'] 20 'crimsondusk/zandronum-sandbox', 'crimsondusk/zandronum-sandbox-stable', 'crimsondusk/zfc9000']
21 21
22 def is_throttled (address): 22 def is_throttled (address):
23 i = 0 23 i = 0
24 24
25 while i < len (g_throttle): 25 while i < len (g_throttle):

mercurial