diff --git a/fabfile.py b/fabfile.py index 990f2e8..5abbbe9 100644 --- a/fabfile.py +++ b/fabfile.py @@ -5,6 +5,7 @@ import os from fabric.api import * + CMD_TEMPLATE = '{0}' EPIO_TEMPLATE = 'epio {0}' diff --git a/httpbin/structures.py b/httpbin/structures.py index 996b159..ccad99c 100644 --- a/httpbin/structures.py +++ b/httpbin/structures.py @@ -18,12 +18,10 @@ class CaseInsensitiveDict(dict): def _lower_keys(self): return map(str.lower, self.keys()) - def __contains__(self, key): return key.lower() in self._lower_keys() - def __getitem__(self, key): # We allow fall-through here, so values default to None if key in self: - return self.items()[self._lower_keys().index(key.lower())][1] \ No newline at end of file + return self.items()[self._lower_keys().index(key.lower())][1]