Fixed an unknown exception. 5_1_x

Sat, 04 Jun 2011 18:26:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 04 Jun 2011 18:26:09 +0200
branch
5_1_x
changeset 1110
9de6692fadbd
parent 1108
1b948b092868
child 1111
8f7ebfc5b087

Fixed an unknown exception.

Debugger/DebugServer.py file | annotate | diff | comparison | revisions
Debugger/DebuggerInterfacePython.py file | annotate | diff | comparison | revisions
Debugger/DebuggerInterfacePython3.py file | annotate | diff | comparison | revisions
Debugger/DebuggerInterfaceRuby.py file | annotate | diff | comparison | revisions
--- a/Debugger/DebugServer.py	Sat Jun 04 11:21:53 2011 +0200
+++ b/Debugger/DebugServer.py	Sat Jun 04 18:26:09 2011 +0200
@@ -624,7 +624,7 @@
                 if value.startswith('"') or value.startswith("'"):
                     value = value[1:-1]
                 envdict[key] = value
-            except UnpackError:
+            except ValueError:
                 pass
         self.debuggerInterface.remoteEnvironment(envdict)
         
--- 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)
--- 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)
--- 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