cc-4105: major refactorings. shit is barely running

This commit is contained in:
Rudi Grinberg 2012-07-26 15:49:41 -04:00
parent add322d515
commit be00cc6990
14 changed files with 185 additions and 290 deletions

View file

@ -287,6 +287,11 @@ def last_modified(path):
return os.path.getmtime(path)
else: 0
def import_organize(store):
"""returns a tuple of organize and imported directory from an airtime store directory"""
store = os.path.normpath(store)
return os.path.join(store,'organize'), os.path.join(store,'imported')
if __name__ == '__main__':
import doctest
doctest.testmod()