Beispiel #1
0
 def addNewFile(self, name, bytes):
     if not self.hasFile(name):
         name = utf8rep(name)
         self._file.writestr(name, bytes)
Beispiel #2
0
 def addNewFile(self, name, bytes):
     if not self.hasFile(name):
         name = utf8rep(name)
         self._file.writestr(name, bytes)
Beispiel #3
0
 def add(self, name, path):
     name = utf8rep(name)
     self._file.write(str(path), self._normalisePath(name))
Beispiel #4
0
 def add(self, name, path):
     name = utf8rep(name)
     self._file.write(str(path), self._normalisePath(name))