Skip to content

Commit

Permalink
Merge with git@github.com:zothar/mcedit.git 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
zothar committed Mar 21, 2012
2 parents b366a33 + 8a87e19 commit 343a9e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leveleditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def _blockUnderCursor(self, center=False):
GL.glReadBuffer(GL.GL_BACK)
else:
GL.glReadBuffer(GL.GL_FRONT)
except Exception, e:
except Exception:
logging.exception('Exception during glReadBuffer')
ws = self.get_root().size
if center:
Expand Down Expand Up @@ -3675,7 +3675,7 @@ def drawToolbar(self):
), dtype="f4"))

GL.glDrawArrays(GL.GL_QUADS, 0, 4)
except Exception, e:
except Exception:
logging.exception('Error while drawing toolbar.')
GL.glDisableClientState(GL.GL_TEXTURE_COORD_ARRAY)

Expand Down

0 comments on commit 343a9e4

Please sign in to comment.