wibiti/uncompyle2 — Issue #12: stray else being generated inside if
Author: bloodyshade
Created: 2012-02-17 23:00:33+00:00
State: open

In the file: http://codepad.org/2BwQ3lRz

you can see this in the leave method:

for m in self.members:
if m == who:
if not m.loggingOut and not m.transfering:
try:
m.sendGameText(RPG_MSG_GAME_GOOD,"You have left the alliance.\\n")
except:
pass
continue
else:
m.alliance = None
else:
nmembers.append(m)

the decompiled version looks like this:

for m in self.members:
if m == who:
if not m.loggingOut and not m.transfering:
try:
m.sendGameText(RPG_MSG_GAME_GOOD, 'You have left the alliance.\\n')
except:
pass
else:
continue
else:
m.alliance = None
else:
nmembers.append(m)

Best regards,
Luis Henrique