Pig: Tiny performance improvement
authorlittlesat <littlesat99@yahoo.com>
Mon, 30 Mar 2015 11:53:20 +0000 (13:53 +0200)
committerlittlesat <littlesat99@yahoo.com>
Mon, 30 Mar 2015 11:53:20 +0000 (13:53 +0200)
lib/python/Components/Renderer/Pig.py

index 767dfb5..3af7afd 100644 (file)
@@ -24,6 +24,7 @@ class Pig(Renderer):
                        if attrib == "hidePip":
                                self.hidePip = value == 1
                                attribs.remove((attrib,value))
+                               break
                self.skinAttributes = attribs
                ret = Renderer.applySkin(self, desktop, parent)
                if ret: