Beispiel #1
0
 def is_valid_list(self, lst):
     lst = ltools.split_on_comma(lst)
     for id in lst:
         if not self.is_valid(id):
             return False
     return True
Beispiel #2
0
 def is_valid_list(self, lst):
     lst = ltools.split_on_comma(lst)
     for id in lst:
         if not self.is_valid(id):
             return False
     return True
Beispiel #3
0
 def categories(self, value):
     self._categories_set = set(ltools.split_on_comma(value))
Beispiel #4
0
 def authors(self, authors):
     '''
     Takes a string of comma-separated authors and adds them to authors of
     the article.
     '''
     self._authors_set = set(ltools.split_on_comma(authors))
Beispiel #5
0
 def categories(self, value):
     self._categories_set = set(ltools.split_on_comma(value))
Beispiel #6
0
 def authors(self, authors):
     '''
     Takes a string of comma-separated authors and adds them to authors of
     the article.
     '''
     self._authors_set = set(ltools.split_on_comma(authors))