소스 검색

remove name and value from builtins

Darren Ranalli 18 년 전
부모
커밋
fcee0e315f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      direct/src/distributed/MsgTypes.py

+ 1 - 0
direct/src/distributed/MsgTypes.py

@@ -93,6 +93,7 @@ MsgId2Names = invertDictLossless(MsgName2Id)
 # put msg names in module scope, assigned to msg value
 for name, value in MsgName2Id.items():
     exec '%s = %s' % (name, value)
+del name, value
 
 # These messages are ignored when the client is headed to the quiet zone
 QUIET_ZONE_IGNORED_LIST = [