diff --git a/Lib/plistlib.py b/Lib/plistlib.py index 21ebec3f004..248f5143f4e 100644 --- a/Lib/plistlib.py +++ b/Lib/plistlib.py @@ -644,7 +644,6 @@ class _BinaryPlistParser: elif tokenH == 0x50: # ascii string s = self._get_size(tokenL) result = self._fp.read(s).decode('ascii') - result = result elif tokenH == 0x60: # unicode string s = self._get_size(tokenL) diff --git a/Tools/demo/redemo.py b/Tools/demo/redemo.py index 256a63e0a00..f801dfce5fe 100755 --- a/Tools/demo/redemo.py +++ b/Tools/demo/redemo.py @@ -96,7 +96,6 @@ class ReDemo: flags = 0 for var in self.vars: flags = flags | var.get() - flags = flags return flags def recompile(self, event=None):