OSDN Git Service

stop using trunk or dist directory in rec10 project.
[rec10/rec10-git.git] / rec10 / trunk / src / zip.py
diff --git a/rec10/trunk/src/zip.py b/rec10/trunk/src/zip.py
deleted file mode 100644 (file)
index 7dc9ab5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/python
-# coding: UTF-8
-# Rec10 TS Recording Tools
-# Copyright (C) 2009-2011 Yukikaze
-
-import os
-import os.path
-import zipfile
-
-def addFile2FileZip(addfile,basefile):
-    th=0
-
-    if os.path.exists(basefile):
-        th=zipfile.ZipFile(basefile,'a',zipfile.ZIP_DEFLATED)
-    else:
-        th=zipfile.ZipFile(basefile,'w',zipfile.ZIP_DEFLATED)
-    if os.path.exists(addfile):
-        th.write(addfile,os.path.basename(addfile))
-    th.close()