Revision d143f2c6 lib/luxi.py
b/lib/luxi.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2006, 2007 Google Inc. |
|
4 |
# Copyright (C) 2006, 2007, 2011 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
297 | 297 |
# Parse the result |
298 | 298 |
try: |
299 | 299 |
data = serializer.LoadJson(msg) |
300 |
except KeyboardInterrupt: |
|
301 |
raise |
|
300 | 302 |
except Exception, err: |
301 | 303 |
raise ProtocolError("Error while deserializing response: %s" % str(err)) |
302 | 304 |
|
Also available in: Unified diff