diff options
| author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2016-02-04 20:36:25 +0100 |
|---|---|---|
| committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2016-02-04 20:36:25 +0100 |
| commit | a0c061d0344902789259281f388fbf07fc8692aa (patch) | |
| tree | edb81d68f96c2ad13885e992c02a8c4221d3d73c /bin | |
| parent | 094a7219076e26436280ceab22fb91ad9751c2a6 (diff) | |
providers:checkbox:bin:pulse-active-port-change: Init port_availability
To None Fixes: https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1333300
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/pulse-active-port-change | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/pulse-active-port-change b/bin/pulse-active-port-change index 06324442..f2d95277 100755 --- a/bin/pulse-active-port-change +++ b/bin/pulse-active-port-change @@ -72,6 +72,7 @@ class AudioPlugDetection: cfg = set() for record in doc.record_list: active_port = None + port_availability = None # We go through the attribute list once to try to find an active port for attr in record.attribute_list: if attr.name == "Active Port": |
