Debugger/DebuggerInterfacePython.py

branch
5_1_x
changeset 1110
9de6692fadbd
parent 1077
1b188056eaec
child 1181
31d20dc43805
--- a/Debugger/DebuggerInterfacePython.py	Sat Jun 04 11:21:53 2011 +0200
+++ b/Debugger/DebuggerInterfacePython.py	Sat Jun 04 18:26:09 2011 +0200
@@ -216,7 +216,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)
@@ -308,7 +308,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