Lines Matching refs:slave
55 [slave, master] = args
61 process(slave, master)
63 def process(slave, master): argument
70 print "slave ", slave
72 if not os.path.isdir(slave):
73 if not okay("create slave directory %s?" % slave,
76 print "-- no corresponding slave", slave
78 print "creating slave directory", slave
80 os.mkdir(slave)
82 print "can't make slave directory", slave, ":", msg
85 print "made slave directory", slave
91 slavename = os.path.join(slave, name)
103 s = os.path.join(slave, name)
109 def compare(slave, master): argument
111 sf = open(slave, 'r')
122 print "Creating missing slave", slave
123 copy(master, slave, answer=create_files)
138 print "is newer than slave", slave
139 copy(master, slave, answer=write_slave)
150 copy(slave, master, "rb", answer=write_master)
153 copy(slave, master, "r", answer=write_master)