home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / python-apt / text / apt / cdrom.txt < prev    next >
Encoding:
Text File  |  2009-03-30  |  935 b   |  35 lines

  1.  
  2. ``apt.cdrom`` - Functionality like in apt-cdrom
  3. ***********************************************
  4.  
  5. Classes related to cdrom handling.
  6.  
  7. class apt.cdrom.Cdrom(progress=None, mountpoint=None, nomount=True)
  8.  
  9.    Support for apt-cdrom like features.
  10.  
  11.    This class has several optional parameters for initialisation,
  12.    which may be used to influence the behaviour of the object:
  13.  
  14.    The optional parameter *progress* is a CdromProgress() subclass,
  15.    which will ask for the correct cdrom, etc. If not specified or
  16.    None, a CdromProgress() object will be used.
  17.  
  18.    The optional parameter *mountpoint* may be used to specify an
  19.    alternative mountpoint.
  20.  
  21.    If the optional parameter *nomount* is True, the cdroms will not be
  22.    mounted. This is the default behaviour.
  23.  
  24.    add()
  25.  
  26.       Add cdrom to the sources.list.
  27.  
  28.    ident()
  29.  
  30.       Identify the cdrom.
  31.  
  32.    inSourcesList
  33.  
  34.       Check if the cdrom is already in the current sources.list.
  35.