targets/toolchain_makefile.py
changeset 1846 14b40afccd69
parent 1832 0f1081928d65
child 1847 6198190bc121
--- a/targets/toolchain_makefile.py	Tue Oct 03 16:12:55 2017 +0300
+++ b/targets/toolchain_makefile.py	Tue Oct 03 16:31:31 2017 +0300
@@ -56,7 +56,7 @@
         self.md5key = None
         try:
             os.remove(self._GetMD5FileName())
-        except Exception, e:
+        except Exception:
             pass
 
     def GetBinaryCodeMD5(self):
@@ -65,7 +65,7 @@
         else:
             try:
                 return open(self._GetMD5FileName(), "r").read()
-            except IOError, e:
+            except IOError:
                 return None
 
     def concat_deps(self, bn):