Реализовал парсер команды создания бэкапа

This commit is contained in:
Rustam Zaitov
2013-10-29 02:14:09 +04:00
parent bb01973963
commit ec57e67133
8 changed files with 56 additions and 10 deletions
@@ -24,14 +24,6 @@ class CopyLineParser(LineParser):
self.__copyArguments.setArguments(src, dst)
return self.__copyArguments
def keywordToken(self, keyword):
assert keyword is not None
return r'\s+' + keyword + r'\s+'
def startsWithKeywordToken(self, keyword):
assert keyword is not None
return r'^' + keyword + r'\s+'
def isValidLine(self, line):
assert line is not None