def find_repo(repo_name):
 path = os.path.abspath(os.path.join(os.path.dirname(sql.__file__), repo_name))
 if (not os.path.isdir(path)):
  raise exception.MigrationNotProvided(sql.__name__, path)
 return path

def find_repo ( repo_name ) : path = os . path . abspath ( os . path . join ( os . path . dirname ( sql . __file__ ) , repo_name ) ) if ( not os . path . isdir ( path ) ) : raise exception . MigrationNotProvided ( sql . __name__ , path ) return path
return the absolute path to the named repository .