Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-20 02:17:19 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-20 02:17:19 +0400
commit98e69124807b9a5e16b617c89347fc77072e9b38 (patch)
tree682b17e9cbd03eb447962f2d6743ad849272e6e3 /release/scripts/modules/rna_info.py
parenta8f23a96a4f804bbf8d1ef67acfc4f8a57c319b1 (diff)
style cleanup
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r--release/scripts/modules/rna_info.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py
index 4116bfda0c7..7eccda74e14 100644
--- a/release/scripts/modules/rna_info.py
+++ b/release/scripts/modules/rna_info.py
@@ -66,9 +66,9 @@ def rna_id_ignore(rna_id):
def range_str(val):
if val < -10000000:
- return '-inf'
+ return "-inf"
elif val > 10000000:
- return 'inf'
+ return "inf"
elif type(val) == float:
return '%g' % val
else:
@@ -305,8 +305,8 @@ class InfoPropertyRNA:
return type_str
def __str__(self):
- txt = ''
- txt += ' * ' + self.identifier + ': ' + self.description
+ txt = ""
+ txt += " * " + self.identifier + ": " + self.description
return txt
@@ -398,7 +398,7 @@ class InfoOperatorRNA:
return None, None
-def _GetInfoRNA(bl_rna, cls, parent_id=''):
+def _GetInfoRNA(bl_rna, cls, parent_id=""):
if bl_rna is None:
return None
@@ -641,7 +641,7 @@ if __name__ == "__main__":
props = [(prop.identifier, prop) for prop in v.properties]
for prop_id, prop in sorted(props):
- # if prop.type == 'boolean':
+ # if prop.type == "boolean":
# continue
prop_type = prop.type
if prop.array_length > 0: