Debugger/DebuggerInterfacePython3.py

branch
5_1_x
changeset 1110
9de6692fadbd
parent 1077
1b188056eaec
child 1510
e75ecf2bd9dd
--- a/Debugger/DebuggerInterfacePython3.py	Sat Jun 04 11:21:53 2011 +0200
+++ b/Debugger/DebuggerInterfacePython3.py	Sat Jun 04 18:26:09 2011 +0200
@@ -212,7 +212,7 @@
                 if value.startswith('"') or value.startswith("'"):
                     value = value[1:-1]
                 clientEnv[str(key)] = str(value)
-            except UnpackError:
+            except ValueError:
                 pass
         
         ipaddr = self.debugServer.getHostAddress(True)
@@ -304,7 +304,7 @@
                 if value.startswith('"') or value.startswith("'"):
                     value = value[1:-1]
                 clientEnv[str(key)] = str(value)
-            except UnpackError:
+            except ValueError:
                 pass
         
         ipaddr = self.debugServer.getHostAddress(True)

eric ide

mercurial