# these are functions that should go in another module as it's not directly # related to sync code. import portage def warn(mytext): portage.writemsg("!!! "+mytext+"\n") def info(mytext): portage.writemsg("* "+mytext+"\n") def msg(mytext): portage.writemsg(mytext+"\n") def isPythonSourceFile(filename): return filename[-3:] == ".py"