Removes unused namelookup function.

Cutting out function whose only use was an unused constant.
This commit is contained in:
Eddie Hebert
2012-10-15 14:02:26 -04:00
parent 557f93f1e6
commit 25ce71651f
2 changed files with 1 additions and 32 deletions
+1 -7
View File
@@ -14,7 +14,7 @@
# limitations under the License.
from utils.protocol_utils import Enum, ndict, namelookup
from utils.protocol_utils import Enum, ndict
# Datasource type should completely determine the other fields of a
# message with its type.
@@ -34,9 +34,3 @@ TRANSFORM_TYPE = ndict({
'PASSTHROUGH': 'PASSTHROUGH',
'EMPTY': ''
})
FINANCE_COMPONENT = namelookup({
'TRADING_CLIENT': 'TRADING_CLIENT',
'PORTFOLIO_CLIENT': 'PORTFOLIO_CLIENT',
})