mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
b72a0dd912
commit
403a34bea3
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user