[PATCH] Make sure we return an iterable of chan.get is we use it that way
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP-Asterisk connector |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Make sure chan.get(
The situation where the current code generates an exception is that when 'BridgedChannel' is not key in the status. A 'None' would be returned, which is not iterable. By returning an empty string, we prevent the exception.
Patch:
=== modified file 'asterisk_
--- asterisk_
+++ asterisk_
@@ -299,7 +299,7 @@
- if chan.get(
+ if chan.get(
Fixed in revno 83 of the trunk branch. Thank you very much for your patch Marcel.