Exemplo n.º 1
0
 def run(self, repo, args):
     repo = squash.create_repo(args.path, args.db)
     self.log("# New squash repo created: %s\n", repo.path)
Exemplo n.º 2
0
def setup():
    global client
    primary = squash.create_repo('.primary')
    spawn(primary.serve, ('localhost', 4001))
    client = Client( 4001 )
    sleep(.1)