~ubuntu-branches/debian/experimental/calibre/experimental

« back to all changes in this revision

Viewing changes to src/calibre/devices/apple/driver.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2012-08-16 09:55:40 UTC
  • mfrom: (1.3.35)
  • Revision ID: package-import@ubuntu.com-20120816095540-yfaxheew17jv19l5
Tags: 0.8.64+dfsg-1
* New upstream release:
  - Update license of the quick start guide to be DFSG compatible. Thanks to
    Christophe Siraut for sorting this out! (Closes: #653328)
* debian/control: Add new libmtp-dev build dependency.
* debian/control: Stricter python-mechanize dependency. (Closes: #684616)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
__docformat__ = 'restructuredtext en'
6
6
 
7
7
 
8
 
import cStringIO, ctypes, datetime, os, re, shutil, sys, tempfile, time
 
8
import cStringIO, ctypes, datetime, os, platform, re, shutil, sys, tempfile, time
9
9
 
10
10
from calibre.constants import __appname__, __version__, DEBUG
11
11
from calibre import fit_image, confirm_config_name, strftime as _strftime
2427
2427
 
2428
2428
            if DEBUG:
2429
2429
                logger().info("  %s %s" % (__appname__, __version__))
2430
 
                logger().info("  [OSX %s - %s (%s), driver version %d.%d.%d]" %
2431
 
                 (self.iTunes.name(), self.iTunes.version(), self.initial_status,
 
2430
                logger().info("  [OSX %s, %s %s (%s), driver version %d.%d.%d]" %
 
2431
                 (platform.mac_ver()[0],
 
2432
                  self.iTunes.name(), self.iTunes.version(), self.initial_status,
2432
2433
                  self.version[0],self.version[1],self.version[2]))
2433
2434
                logger().info("  communicating with iTunes via %s %s using %s binding" % (as_name, as_version, as_binding))
2434
2435
                logger().info("  calibre_library_path: %s" % self.calibre_library_path)