Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Correct logging format strings (missing s in %s)
Browse files Browse the repository at this point in the history
Several logging strings were missing a trailing s in %s.

Signed-off-by: Darren Hart <[email protected]>
  • Loading branch information
dvhart committed Jun 21, 2020
1 parent 418df0e commit 4f89ead
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def execute(self, context):
global thicket_ui_mode
instance = context.active_object
if not is_thicket_instance(instance):
logging.error("reset_plant failed: non-Thicket object: %" % instance.name)
logging.error("reset_plant failed: non-Thicket object: %s" % instance.name)
return
template = instance.instance_collection
template.thicket.copy_to(context.window_manager.thicket)
Expand Down Expand Up @@ -486,7 +486,7 @@ def execute(self, context):
global thicket_ui_mode
instance = context.active_object
if not is_thicket_instance(instance):
logging.error("update_plant failed: non-Thicket object: %" % instance.name)
logging.error("update_plant failed: non-Thicket object: %s" % instance.name)
return
instance = context.active_object
logging.debug("Updating plant: %s" % instance.name)
Expand Down Expand Up @@ -543,7 +543,7 @@ def make_unique(self, instance):
def execute(self, context):
instance = context.active_object
if not is_thicket_instance(instance):
logging.error("make_unique failed: non-Thicket object: %" % instance.name)
logging.error("make_unique failed: non-Thicket object: %s" % instance.name)
return
self.make_unique(instance)
context.area.tag_redraw()
Expand All @@ -561,7 +561,7 @@ class THICKET_OT_delete_plant(Operator):
def execute(self, context):
instance = context.active_object
if not is_thicket_instance(instance):
logging.error("delete_plant failed: non-Thicket object: %" % instance.name)
logging.error("delete_plant failed: non-Thicket object: %s" % instance.name)
return
delete_plant(instance)
context.area.tag_redraw()
Expand Down

0 comments on commit 4f89ead

Please sign in to comment.