Skip to content

Commit 40ea025

Browse files
author
gsherman
committed
Minor cleanup to the output when unzipping a pyqgis plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7970 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fb46533 commit 40ea025

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/plugins/plugin_installer/qgis_plugins.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def extract(self, file, dir):
4040
zf = zipfile.ZipFile(file)
4141

4242
# create directory structure to house files
43-
print "Creating plugin structure"
43+
print "Creating plugin structure:"
4444
self._createstructure(file, dir)
4545

4646
num_files = len(zf.namelist())
@@ -70,7 +70,7 @@ def _createstructure(self, file, dir):
7070

7171
def _makedirs(self, directories, basedir):
7272
""" Create any directories that don't currently exist """
73-
print "Creating directories contained in the zip file: %s" % directories
73+
print "Processing directories contained in the zip file: %s" % directories
7474
for dir in directories:
7575
curdir = os.path.join(basedir, dir)
7676
# normalize the path
@@ -91,7 +91,7 @@ def _listdirs(self, file):
9191

9292
for file in zf.filelist:
9393
if file.external_attr >> 28 == 4:
94-
print "Adding %s to the list of directories to create" % file.filename
94+
# print "Adding %s to the list of directories to create" % file.filename
9595
dirs.append(file.filename)
9696

9797
#for name in zf.namelist():

0 commit comments

Comments
 (0)