Local
This commit is contained in:
parent
d0323aee9f
commit
0afc9d897c
3 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ def check(args):
|
||||||
|
|
||||||
|
|
||||||
def info(args):
|
def info(args):
|
||||||
print(local.Repository(args))
|
print(local.Local(args))
|
||||||
|
|
||||||
|
|
||||||
def sync(args):
|
def sync(args):
|
||||||
|
|
2
local.py
2
local.py
|
@ -5,7 +5,7 @@ import os
|
||||||
import msys
|
import msys
|
||||||
|
|
||||||
|
|
||||||
class Repository:
|
class Local:
|
||||||
def __init__(self, args):
|
def __init__(self, args):
|
||||||
self.directory = args[arguments.DIRECTORY]
|
self.directory = args[arguments.DIRECTORY]
|
||||||
self.temporary = args[arguments.TEMPORARY]
|
self.temporary = args[arguments.TEMPORARY]
|
||||||
|
|
|
@ -11,7 +11,7 @@ import remote
|
||||||
class Synchronization:
|
class Synchronization:
|
||||||
def __init__(self, args):
|
def __init__(self, args):
|
||||||
self.remote = remote.Remote(args)
|
self.remote = remote.Remote(args)
|
||||||
self.repository = local.Repository(args)
|
self.repository = local.Local(args)
|
||||||
self.temporary = self.repository.get_temporary()
|
self.temporary = self.repository.get_temporary()
|
||||||
self.threads = args[arguments.THREADS]
|
self.threads = args[arguments.THREADS]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue