From bfd9e3e2bf9ef17c7dc0884edb47f190d461fbe2 Mon Sep 17 00:00:00 2001 From: Rustam Zaitov Date: Mon, 28 Oct 2013 00:01:38 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BA=D0=BB=D0=B0=D1=81=D1=81=20=D1=81=D0=B5=D0=BC=D0=B0=D0=BD?= =?UTF-8?q?=D1=82=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=BE=D0=B9=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B4=D0=B5=D0=BB=D0=B8=20=D0=B4=D0=BB=D1=8F=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BC=D0=B0=D0=BD=D0=B4=D1=8B=20=D0=BA=D0=BE=D0=BF=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/parser/CopyParser/CopyArguments.py | 17 +++++++++++++++++ scripts/parser/CopyParser/__init__.py | 1 + 2 files changed, 18 insertions(+) create mode 100644 scripts/parser/CopyParser/CopyArguments.py create mode 100644 scripts/parser/CopyParser/__init__.py diff --git a/scripts/parser/CopyParser/CopyArguments.py b/scripts/parser/CopyParser/CopyArguments.py new file mode 100644 index 0000000..f33d049 --- /dev/null +++ b/scripts/parser/CopyParser/CopyArguments.py @@ -0,0 +1,17 @@ +__author__ = 'rzaitov' + + +class CopyArguments(): + def __init__(self): + self.__source = None + self.__target = None + + def setArguments(self, source, target): + self.__source = source + self.__target = target + + def isValid(self): + result = self.__source is not None + result &= self.__target is not None + + return result \ No newline at end of file diff --git a/scripts/parser/CopyParser/__init__.py b/scripts/parser/CopyParser/__init__.py new file mode 100644 index 0000000..cc31abc --- /dev/null +++ b/scripts/parser/CopyParser/__init__.py @@ -0,0 +1 @@ +__author__ = 'rzaitov'