mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Class fields changed
This commit is contained in:
parent
5015da40b7
commit
97e5418666
@ -27,9 +27,9 @@ from .folder import str2bool
|
||||
|
||||
class Files_cp:
|
||||
def __init__(self, arg_dict):
|
||||
self.fromPath = (Path(arg_dict['fromPath'])
|
||||
self.fromPath = (arg_dict['fromPath']
|
||||
if arg_dict['fromPath'] else None)
|
||||
self.targetPath = Path(arg_dict['targetPath'])
|
||||
self.targetPath = arg_dict['targetPath']
|
||||
self.action = action_letter2enum(arg_dict['action'])
|
||||
self.readOnly = str2bool(arg_dict['readOnly'])
|
||||
self.archive = str2bool(arg_dict['archive'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user