~ubuntu-branches/ubuntu/maverick/coherence/maverick

« back to all changes in this revision

Viewing changes to coherence/upnp/devices/binary_light_client.py

  • Committer: Bazaar Package Importer
  • Author(s): Charlie Smotherman
  • Date: 2010-01-02 10:57:15 UTC
  • mfrom: (1.1.7 upstream) (3.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100102105715-sghzl2nw4lr5b1ob
Tags: 0.6.6.2-1
*  New  upstream release, summary of changes:
    - adding all necessary files to MANIFEST.in, to compensate for the
      gone 'auto-include-all-files-under-version-control' setuptools
      feature.
    - rearranging genre and genres attribute in DIDLLite - thx Caleb  
    - fix face_path typo, fixes #275.   

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
    def __init__(self, device):
16
16
        self.device = device
17
 
        self.device_type,self.version = device.get_device_type().split(':')[3:5]
 
17
        self.device_type = self.device.get_friendly_device_type()
 
18
        self.version = int(self.device.get_device_type_version())
18
19
        self.icons = device.icons
19
20
        self.switch_power = None
20
21