Debugger/DebuggerInterfaceRuby.py

branch
5_1_x
changeset 1110
9de6692fadbd
parent 791
9ec2ac20e54e
child 1181
31d20dc43805
--- a/Debugger/DebuggerInterfaceRuby.py	Sat Jun 04 11:21:53 2011 +0200
+++ b/Debugger/DebuggerInterfaceRuby.py	Sat Jun 04 18:26:09 2011 +0200
@@ -190,7 +190,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)
@@ -280,7 +280,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)
@@ -834,4 +834,4 @@
         if self.qsock is not None:
             self.qsock.write(cmd.encode('utf8'))
         else:
-            self.queue.append(cmd)
\ No newline at end of file
+            self.queue.append(cmd)

eric ide

mercurial