mrmp/synchronization.py

20 lines
463 B
Python
Raw Normal View History

2021-10-09 17:46:11 +00:00
import os
import remote
import repository
class Synchronization:
def __init__(self, args):
self.remote = remote.Remote(args)
self.repository = repository.Repository(args)
self.temporary = self.repository.get_temporary()
def __str__(self):
lines = [
str(self.remote), str(),
str(self.repository), str(),
f'Temporary: {self.temporary}',
]
return os.linesep.join(lines)