cc-4105: formatted comments

This commit is contained in:
Rudi Grinberg 2012-07-24 10:36:33 -04:00
parent 37d59154d0
commit 53e9b02b26
3 changed files with 37 additions and 9 deletions

View File

@ -91,6 +91,9 @@ def truncate_to_length(item, length):
else: return item
class Metadata(Loggable):
@staticmethod
def write_unsafe(path,md):
pass
def __init__(self, fpath):
# Forcing the unicode through
try: fpath = fpath.decode("utf-8")

View File

@ -20,15 +20,15 @@ import media.monitor.pure as mmp
from api_clients import api_client as apc
# Execution consists of the following steps (for now)
# 1. initialize logging
# 2. create MMConfig from the config file
# 3. configure the locale
# 4. initialize all event handlers (WatchManager, OrganizeListener, etc.)
# 5. get bootstrap db from airtime
# 6. sync the db according to the filesystem (and vice versa in some cases)
# 7. initialize listeners for watched and organize directories
# 8. initialize kombu listener for receiving messages from airtime
# 9. start the toucher thread that updates the last modified time of the index
# 1. Initialize logging
# 2. Create MMConfig from the config file
# 3. Configure the locale
# 4. Initialize all event handlers (WatchManager, OrganizeListener, etc.)
# 5. Get bootstrap db from airtime
# 6. Sync the db according to the filesystem (and vice versa in some cases)
# 7. Initialize listeners for watched and organize directories
# 8. Initialize kombu listener for receiving messages from airtime
# 9. Start the toucher thread that updates the last modified time of the index
# file as the program is running
log = get_logger()

View File

@ -27,3 +27,28 @@ class TestToucherThread(BaseTest):
self.assertTrue( t2 > t1 )
if __name__ == '__main__': unittest.main()