예제 #1
0
파일: stack.py 프로젝트: hborchardt/stgit
 def _read_file(self, fn):
     return tuple(
         utils.read_strings(os.path.join(self._stack.directory, fn)))
예제 #2
0
파일: stack.py 프로젝트: snits/stgit
 def get_hidden(self):
     if not os.path.isfile(self.__hidden_file):
         return []
     return read_strings(self.__hidden_file)
예제 #3
0
파일: stack.py 프로젝트: snits/stgit
 def get_unapplied(self):
     if not os.path.isfile(self.__unapplied_file):
         raise StackException('Branch "%s" not initialised' %
                              self.get_name())
     return read_strings(self.__unapplied_file)
예제 #4
0
 def get_hidden(self):
     if not os.path.isfile(self.__hidden_file):
         return []
     return read_strings(self.__hidden_file)
예제 #5
0
 def get_unapplied(self):
     if not os.path.isfile(self.__unapplied_file):
         raise StackException('Branch "%s" not initialised' %
                              self.get_name())
     return read_strings(self.__unapplied_file)
예제 #6
0
파일: stack.py 프로젝트: snits/stgit
 def __read_file(self, fn):
     return tuple(utils.read_strings(
         os.path.join(self.__stack.directory, fn)))