Ejemplo n.º 1
0
 def connect(self):
     conn_value = super().connect()
     if conn_value:
         self.source = directory.ReadDir(self.connected_locations[0],
                                         self.log, self.values.force)
         self.target = repository.ReadRepo(self.connected_locations[1],
                                           self.log, self.values.force)
     return conn_value
Ejemplo n.º 2
0
 def connect(self):
     conn_value = super().connect()
     if conn_value:
         self.source = repository.ReadRepo(self.connected_locations[0],
                                           self.log, self.values.force)
         self.target = directory.WriteDir(self.connected_locations[1],
                                          self.log, self.values.force,
                                          self.values.create_full_path)
     return conn_value