@@ -487,7 +487,7 @@ def Children(self):
487487
488488 children = []
489489 for property , attributes in self ._schema .items ():
490- (is_list , property_type , is_strong ) = attributes [0 :3 ]
490+ (is_list , _property_type , is_strong ) = attributes [0 :3 ]
491491 if is_strong and property in self ._properties :
492492 if not is_list :
493493 children .append (self ._properties [property ])
@@ -913,7 +913,7 @@ def VerifyHasRequiredProperties(self):
913913 # TODO(mark): A stronger verification mechanism is needed. Some
914914 # subclasses need to perform validation beyond what the schema can enforce.
915915 for property , attributes in self ._schema .items ():
916- (is_list , property_type , is_strong , is_required ) = attributes [0 :4 ]
916+ (_is_list , _property_type , _is_strong , is_required ) = attributes [0 :4 ]
917917 if is_required and property not in self ._properties :
918918 raise KeyError (self .__class__ .__name__ + " requires " + property )
919919
@@ -923,7 +923,7 @@ def _SetDefaultsFromSchema(self):
923923
924924 defaults = {}
925925 for property , attributes in self ._schema .items ():
926- (is_list , property_type , is_strong , is_required ) = attributes [0 :4 ]
926+ (_is_list , _property_type , _is_strong , is_required ) = attributes [0 :4 ]
927927 if (
928928 is_required
929929 and len (attributes ) >= 5
@@ -1616,7 +1616,7 @@ def __init__(self, properties=None, id=None, parent=None):
16161616 prop_name = "lastKnownFileType"
16171617 else :
16181618 basename = posixpath .basename (self ._properties ["path" ])
1619- (root , ext ) = posixpath .splitext (basename )
1619+ (_root , ext ) = posixpath .splitext (basename )
16201620 # Check the map using a lowercase extension.
16211621 # TODO(mark): Maybe it should try with the original case first and fall
16221622 # back to lowercase, in case there are any instances where case
@@ -2010,7 +2010,7 @@ def Name(self):
20102010 return "Frameworks"
20112011
20122012 def FileGroup (self , path ):
2013- (root , ext ) = posixpath .splitext (path )
2013+ (_root , ext ) = posixpath .splitext (path )
20142014 if ext != "" :
20152015 ext = ext [1 :].lower ()
20162016 if ext == "o" :
0 commit comments