From 1e9e2112f73fc3f2e6552158e57d6a623749eb75 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 4 Mar 2013 00:23:58 +0100 Subject: Fix #2126 (per-server configuration sections) (also move replace_key_with_bound() to core.py, to prevent having common.py depending of config.py) --- src/common.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/common.py') diff --git a/src/common.py b/src/common.py index 3b80fa34..e4e3a52d 100644 --- a/src/common.py +++ b/src/common.py @@ -20,8 +20,6 @@ import time import string import shlex -from config import config - ROOM_STATE_NONE = 11 ROOM_STATE_CURRENT = 10 ROOM_STATE_PRIVATE = 15 @@ -188,12 +186,6 @@ def shell_split(st): except ValueError: return st.split(" ") -def replace_key_with_bound(key): - bind = config.get(key, key, 'bindings') - if not bind: - bind = key - return bind - def parse_str_to_secs(duration=''): """ Parse a string of with a number of d, h, m, s -- cgit v1.2.3