Changeset 1533
- Timestamp:
- 10/21/08 09:32:12 (3 months ago)
- Files:
-
- wine-doors/trunk/src/utils.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wine-doors/trunk/src/utils.py
r1522 r1533 41 41 if use_proxy: 42 42 host = gconf_client.get_string("/system/http_proxy/host") 43 port = gconf_client.get_ string("/system/http_proxy/port")43 port = gconf_client.get_int("/system/http_proxy/port") 44 44 if len(str(host)) > 1: 45 return host + ":" + port45 return "http://%s:%i" % ( host, port ) 46 46 return False 47 47
