Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clientMap = {}
- serverMap = {}
- for row in open('conf/client.srg').read().splitlines():
- try:
- memberType, notchName, name = row.split(' ')
- if memberType == 'CL:':
- clientMap[notchName] = name
- except:
- break
- for row in open('conf/server.srg').read().splitlines():
- try:
- memberType, notchName, name = row.split(' ')
- if memberType == 'CL:':
- serverMap[notchName] = name
- except:
- break
- for notch, name in clientMap.items():
- if notch in serverMap.keys() and serverMap[notch] != clientMap[notch]:
- print notch
- print 'Client:', clientMap[notch]
- print 'Server:', serverMap[notch]
- print '-----'
- for notch, name in serverMap.items():
- if notch in clientMap.keys() and serverMap[notch] != clientMap[notch]:
- print notch
- print 'Client:', clientMap[notch]
- print 'Server:', serverMap[notch]
- print '-----'
Advertisement
Add Comment
Please, Sign In to add comment