Minor cleanup to the output when unzipping a pyqgis plugin

git-svn-id: http://svn.osgeo.org/qgis/trunk@7970 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2008-01-15 06:19:14 +00:00
parent b72a0dd912
commit 403a34bea3

View File

@ -40,7 +40,7 @@ class unzip:
zf = zipfile.ZipFile(file)
# create directory structure to house files
print "Creating plugin structure"
print "Creating plugin structure:"
self._createstructure(file, dir)
num_files = len(zf.namelist())
@ -70,7 +70,7 @@ class unzip:
def _makedirs(self, directories, basedir):
""" Create any directories that don't currently exist """
print "Creating directories contained in the zip file: %s" % directories
print "Processing directories contained in the zip file: %s" % directories
for dir in directories:
curdir = os.path.join(basedir, dir)
# normalize the path
@ -91,7 +91,7 @@ class unzip:
for file in zf.filelist:
if file.external_attr >> 28 == 4:
print "Adding %s to the list of directories to create" % file.filename
# print "Adding %s to the list of directories to create" % file.filename
dirs.append(file.filename)
#for name in zf.namelist():