Ejemplo n.º 1
0
 def find_by_name(self, match):
     for file in glob.glob("/tmp/pullit/git/%s/%s" %
                           (self.repo.full_name, match),
                           recursive=True):
         information = "Repo: %s contains: %s" % (self.repo.full_name, file)
         print(information)
         Events.emit(Events, 'filename-found', information)