Merge "Replace six.itervalues with dict.values()"

This commit is contained in:
Jenkins 2017-09-12 06:39:16 +00:00 committed by Gerrit Code Review
commit 9fc05c7633

View File

@ -11,7 +11,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import six
class PropertiesElement(object):
@ -34,7 +33,7 @@ class PropertiesElement(object):
del self.properties[key]
def __iter__(self):
return six.itervalues(self.properties)
return self.properties.values()
def get(self, k, d=None):
return self.properties.get(k, d)