~pieq/checkbox/fix-1576570-stress-test-progress-log

« back to all changes in this revision

Viewing changes to checkbox-support/checkbox_support/scripts/audio_settings.py

  • Committer: Sylvain Pineau
  • Author(s): Pierre Equoy
  • Date: 2016-06-23 11:51:47 UTC
  • mfrom: (4408.1.1 checkbox-fix-1595380)
  • Revision ID: sylvain_pineau-20160623115147-mmr3bybv7a7n8b8t
"automatic merge of lp:~pierre-equoy/checkbox/fix-1595380/ by tarmac [r=sylvain-pineau][bug=1595380][author=pierre-equoy]"

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
default_pattern = "(?<=Default %s: ).*"
39
39
index_regex = re.compile("(?<=index: )[0-9]*")
40
40
muted_regex = re.compile("(?<=Mute: ).*")
41
 
volume_regex = re.compile("Volume: (?:0|front-left):\s*([0-9]*)")
 
41
volume_regex = re.compile("Volume: (?:0|front-left):[\s\/0-9]*\s([0-9]*)")
42
42
name_regex = re.compile("(?<=Name:).*")
43
43
 
44
44
entry_pattern = "Name: %s.*?(?=Properties)"