def OnPull(self, event): # wxGlade: DevilMainFrame.<event_handler> server = self.combo_box_5.GetValue() loc = self.remote[server] """ Pull """ obj = FileController(self.directory) obj.pull(loc) reactor.run() self.sb.SetStatusText("Pulled successfully")
def OnPull(self, event): # wxGlade: DevilMainFrame.<event_handler> server = self.combo_box_5.GetValue() loc=self.remote[server] """ Pull """ obj=FileController(self.directory) obj.pull(loc) reactor.run() self.sb.SetStatusText("Pulled successfully")
def remote_push(self, directory, loc): print loc, "\n" print directory print "received push request" f = FileController(directory) f.pull(loc, False) print "pull completed" return 1
def remote_push(self,directory,loc): print loc,"\n" print directory print "received push request" f = FileController(directory) f.pull(loc,False) print "pull completed" return 1