
# HG changeset patch
# User Zibi Braniecki <zbraniecki@mozilla.com>
# Date 1503623306 25200
# Node ID 0c0bbead5d73c4ea3db4e5178a9b27883879d744
# Parent  f70b43ea56ccb6131e6bbd40b1759634795fdad9
Bug 1377911 - Do not strip localized override entries when repackaging. r=glandium,Pike

MozReview-Commit-ID: vKPJcxzh4T

diff --git a/python/mozbuild/mozpack/chrome/manifest.py b/python/mozbuild/mozpack/chrome/manifest.py
--- a/python/mozbuild/mozpack/chrome/manifest.py
+++ b/python/mozbuild/mozpack/chrome/manifest.py
@@ -191,22 +191,16 @@ class ManifestOverload(ManifestEntry):
     def __init__(self, base, overloaded, overload, *flags):
         ManifestEntry.__init__(self, base, *flags)
         self.overloaded = overloaded
         self.overload = overload
 
     def __str__(self):
         return self.serialize(self.overloaded, self.overload)
 
-    @property
-    def localized(self):
-        u = urlparse(self.overload)
-        return u.scheme == 'chrome' and \
-               u.path.split('/')[0:2] == ['', 'locale']
-
 
 class ManifestOverlay(ManifestOverload):
     '''
     Class for 'overlay' entries.
         overlay chrome://global/content/viewSource.xul \
             chrome://browser/content/viewSourceOverlay.xul
     '''
     type = 'overlay'

