"""Audit the directories flagged for released This module forms an easy way to audit data files in the repository without running create_distribution. The benefit is that license files can be tested before being checked in. Note: This script will work on all data whether it is part of the repository or not. Before creating a license file for a data file it is a good idea to see if it is part of the repository or not (in which case there is no need). This can be done using svn status or by deleting the offending area and do a fresh svn update. Ole Nielsen, GA 2008 """ from anuga.utilities.data_audit_wrapper import IP_verified from os.path import join from dirs_to_distribute import dirmap #print dirmap for dir in dirmap: if not IP_verified(dir, verbose=True): pass #print 'Not all files in %s have been verified.' %dir