Flatten nested try ... finally, try ... except.

This commit is contained in:
Florent Xicluna 2012-03-05 11:42:49 +01:00
parent 49ab14f452
commit fb06746852
1 changed files with 5 additions and 6 deletions

View File

@ -1673,7 +1673,6 @@ class XMLParser:
self.parser.Parse("", 1) # end of data self.parser.Parse("", 1) # end of data
except self._error as v: except self._error as v:
self._raiseerror(v) self._raiseerror(v)
try:
try: try:
close_handler = self.target.close close_handler = self.target.close
except AttributeError: except AttributeError: