Update of /cvsroot/freevo/freevo/WIP/Dischi/src In directory sc8-pr-cvs1:/tmp/cvs-serv14078/WIP/Dischi/src
Modified Files: directory.py Log Message: do not scan when no dir is set Index: directory.py =================================================================== RCS file: /cvsroot/freevo/freevo/WIP/Dischi/src/directory.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** directory.py 16 Nov 2003 17:41:04 -0000 1.5 --- directory.py 17 Nov 2003 19:31:12 -0000 1.6 *************** *** 10,13 **** --- 10,16 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.6 2003/11/17 19:31:12 dischi + # do not scan when no dir is set + # # Revision 1.5 2003/11/16 17:41:04 dischi # i18n patch from David Sagnol *************** *** 987,990 **** --- 990,995 ---- def scan(self, force=False): + if not self.dir: + return if not force and config.DIRECTORY_USE_STAT_FOR_CHANGES and \ os.stat(self.dir)[stat.ST_MTIME] == self.last_time: ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog