Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gsherman committed Jan 15, 2008
1 parent fb46533 commit 40ea025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/plugin_installer/qgis_plugins.py
Expand Up @@ -40,7 +40,7 @@ def extract(self, file, dir):
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())
Expand Down Expand Up @@ -70,7 +70,7 @@ def _createstructure(self, file, dir):

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
Expand All @@ -91,7 +91,7 @@ def _listdirs(self, file):

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():
Expand Down

0 comments on commit 40ea025

Please sign in to comment.