示例#1
0
 def connect(self, cachecommand):
     if self.pipeo:
         raise error.Abort(_("cache connection already open"))
     self.pipei, self.pipeo, self.pipee, self.subprocess = \
         procutil.popen4(cachecommand)
     self.connected = True
 def connect(self, cachecommand):
     if self.pipeo:
         raise error.Abort(_("cache connection already open"))
     self.pipei, self.pipeo, self.pipee, self.subprocess = \
         procutil.popen4(cachecommand)
     self.connected = True