style cleanup: pep8
This commit is contained in:
@@ -137,7 +137,8 @@ c['schedulers'] = []
|
||||
# builderNames=buildernames,
|
||||
# periodicBuildTimer=24*60*60))
|
||||
|
||||
c['schedulers'].append(timed.Nightly(name='nightly',
|
||||
c['schedulers'].append(timed.Nightly(
|
||||
name='nightly',
|
||||
builderNames=buildernames,
|
||||
hour=3,
|
||||
minute=0))
|
||||
|
@@ -95,7 +95,7 @@ def seek(r, txt, recurs):
|
||||
if GEN_PATH:
|
||||
newtxt = txt + '.' + item
|
||||
|
||||
if item == 'rna_type' and VERBOSE_TYPE == False: # just avoid because it spits out loads of data
|
||||
if item == 'rna_type' and VERBOSE_TYPE is False: # just avoid because it spits out loads of data
|
||||
continue
|
||||
|
||||
value = getattr(r, item, None)
|
||||
@@ -114,7 +114,7 @@ def seek(r, txt, recurs):
|
||||
except:
|
||||
length = 0
|
||||
|
||||
if VERBOSE == False and length >= 4:
|
||||
if VERBOSE is False and length >= 4:
|
||||
for i in (0, length - 1):
|
||||
if i > 0:
|
||||
if PRINT_DATA:
|
||||
|
@@ -36,7 +36,7 @@ def reload_addons(do_reload=True, do_reverse=True):
|
||||
for mod_name in list(addons.keys()):
|
||||
addon_utils.disable(mod_name)
|
||||
|
||||
assert(bool(addons) == False)
|
||||
assert(bool(addons) is False)
|
||||
|
||||
# Run twice each time.
|
||||
for i in (0, 1):
|
||||
|
@@ -49,7 +49,7 @@ def load_addons():
|
||||
for mod_name in list(addons.keys()):
|
||||
addon_utils.disable(mod_name)
|
||||
|
||||
assert(bool(addons) == False)
|
||||
assert(bool(addons) is False)
|
||||
|
||||
for mod in modules:
|
||||
mod_name = mod.__name__
|
||||
|
@@ -846,7 +846,7 @@ if __name__ == "__main__":
|
||||
@persistent
|
||||
def load_handler(dummy):
|
||||
print("Load Handler:", bpy.data.filepath)
|
||||
if load_handler.first == False:
|
||||
if load_handler.first is False:
|
||||
bpy.app.handlers.scene_update_post.remove(load_handler)
|
||||
try:
|
||||
main()
|
||||
|
Reference in New Issue
Block a user