gam = gamin.WatchMonitor()
for root, dirs, files in os.walk("/somedir"):
for dir in dirs:
mon.watch_directory (dir, some_callback)
It works most of the time, but occassionally (usually when a lot of directories are being watched), mon.watch_directory hangs completely. The directory it hangs on seems to be arbitrary.
What am I doing wrong?
Adam
_______________________________________________ Gamin-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gamin-list
