Merge "Replace six.itervalues with dict.values()"
This commit is contained in:
commit
9fc05c7633
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user