From ca1459f24238e5084a25a7c67e36d541d4eab95d Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Fri, 20 Jul 2012 17:32:01 -0400 Subject: [PATCH] cc-4105: typo --- python_apps/media-monitor2/media/monitor/syncdb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python_apps/media-monitor2/media/monitor/syncdb.py b/python_apps/media-monitor2/media/monitor/syncdb.py index 0e149c5ee..cbd6ea36c 100644 --- a/python_apps/media-monitor2/media/monitor/syncdb.py +++ b/python_apps/media-monitor2/media/monitor/syncdb.py @@ -28,10 +28,10 @@ class SyncDB(Loggable): def directory_get_files(self, directory): """ returns all the files(recursively) in a directory. a directory is an "actual" directory - path instead of it's id. + path instead of its id. """ - return [ os.path.normpath(os.path.join(directory,f)) \ - for f in self.apc.list_all_db_files(self.directories[directory]) ] + return set( [ os.path.normpath(os.path.join(directory,f)) \ + for f in self.apc.list_all_db_files(self.directories[directory]) ] ) def id_get_files(self, dir_id): """