Mercurial > mamba
diff mamba/habitats/userlevelmenu.py @ 528:5f1aa75c9e74
Set timeout to 10s.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sun, 18 Sep 2011 01:03:54 +0200 |
parents | f4f883418ac2 |
children | 486c7ae141ea |
line wrap: on
line diff
--- a/mamba/habitats/userlevelmenu.py Sun Sep 18 01:01:35 2011 +0200 +++ b/mamba/habitats/userlevelmenu.py Sun Sep 18 01:03:54 2011 +0200 @@ -10,7 +10,7 @@ class UserLevelApi(object): - def __init__(self, ctype, url=LEVEL_SERVER, timeout=5): + def __init__(self, ctype, url=LEVEL_SERVER, timeout=10): assert ctype in ("curated", "uncurated") assert url.endswith("/") self.ctype = ctype