Remove unnecessary 'if True'

This was done in change I7418cc3ab36823d029a93f86df9c8b25aa7b0c5f to
keep the diff clean [1]. If can be removed now.

[1] https://bugs.launchpad.net/pbr/+bug/1620153/comments/1

Change-Id: Id66ca0522cc4c5601714e1e9ba9379492edc5905
This commit is contained in:
Stephen Finucane 2017-10-10 10:23:32 +01:00
parent a260dc3f29
commit 897ec13869

View File

@ -81,7 +81,6 @@ def pbr(dist, attr, value):
not work well with distributions that do use a `Distribution` subclass. not work well with distributions that do use a `Distribution` subclass.
""" """
if True:
if not value: if not value:
return return
if isinstance(value, string_type): if isinstance(value, string_type):