clear some pep8 warnings

This commit is contained in:
2010-05-16 12:15:04 +00:00
parent 6e66bfe110
commit 80de1162ee
6 changed files with 20 additions and 16 deletions

View File

@@ -200,8 +200,8 @@ class InfoPropertyRNA:
if self.type == "enum":
self.enum_items[:] = rna_prop.items.keys()
if self.array_length:
self.default = tuple(getattr(rna_prop, "default_array", ()))
else:
@@ -245,7 +245,7 @@ class InfoPropertyRNA:
type_str += self.type
if self.array_length:
type_str += " array of %d items" % (self.array_length)
if self.type in ("float", "int"):
type_str += " in [%s, %s]" % (range_str(self.min), range_str(self.max))
elif self.type == "enum":