Update of /cvsroot/freevo/freevo/src/plugins In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32087/plugins
Modified Files: rom_drives.py Log Message: add function to check if a media is mounted Index: rom_drives.py =================================================================== RCS file: /cvsroot/freevo/freevo/src/plugins/rom_drives.py,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** rom_drives.py 15 Feb 2004 15:29:47 -0000 1.57 --- rom_drives.py 27 Feb 2004 20:07:28 -0000 1.58 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.58 2004/02/27 20:07:28 dischi + # add function to check if a media is mounted + # # Revision 1.57 2004/02/15 15:29:47 dischi # remove old stuff *************** *** 381,385 **** Mount the media """ ! _debug_('Mounting disc in drive %s' % self.drivename,2) util.mount(self.mountdir, force=True) return --- 384,388 ---- Mount the media """ ! _debug_('Mounting disc in drive %s' % self.drivename, 2) util.mount(self.mountdir, force=True) return *************** *** 390,397 **** Mount the media """ ! _debug_('Unmounting disc in drive %s' % self.drivename,2) util.umount(self.mountdir) return ! def shutdown(self): shutdown() --- 393,408 ---- Mount the media """ ! _debug_('Unmounting disc in drive %s' % self.drivename, 2) util.umount(self.mountdir) return ! ! ! def is_mounted(self): ! """ ! Check if the media is mounted ! """ ! return util.is_mounted(self.mountdir) ! ! def shutdown(self): shutdown() ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog