[Pkg-mozext-commits] [adblock-plus] 01/24: Noissue - Fix indentation
David Prévot
taffit at moszumanska.debian.org
Mon Oct 20 02:15:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 0cd054873f0d8fe24048b615bfacfbb696ba9ad6
Author: Felix Dahlke <felix at adblockplus.org>
Date: Fri Aug 8 16:49:23 2014 +0200
Noissue - Fix indentation
---
packagerChrome.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/packagerChrome.py b/packagerChrome.py
index 7fefa79..8fd555e 100644
--- a/packagerChrome.py
+++ b/packagerChrome.py
@@ -51,14 +51,14 @@ def processFile(path, data, params):
return data
def makeIcons(files, filenames):
- from PIL import Image
- icons = {}
- for filename in filenames:
- width, height = Image.open(StringIO(files[filename])).size
- if(width != height):
- print >>sys.stderr, 'Warning: %s size is %ix%i, icon should be square' % (filename, width, height)
- icons[width] = filename
- return icons
+ from PIL import Image
+ icons = {}
+ for filename in filenames:
+ width, height = Image.open(StringIO(files[filename])).size
+ if(width != height):
+ print >>sys.stderr, 'Warning: %s size is %ix%i, icon should be square' % (filename, width, height)
+ icons[width] = filename
+ return icons
def createManifest(params, files):
template = getTemplate('manifest.json.tmpl')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list