Explicitly use bl_description instead of defaulting to __doc__

__doc__ should end in a period, and bl_description shouldn't.
This commit is contained in:
Sybren A. Stüvel 2017-02-22 16:02:44 +01:00
parent e777d67922
commit a81c1c80a8

View File

@ -248,6 +248,7 @@ class PillarCredentialsUpdate(pillar.PillarOperatorMixin,
"""Updates the Pillar URL and tests the new URL."""
bl_idname = 'pillar.credentials_update'
bl_label = 'Update credentials'
bl_description = 'Updates the Pillar URL and tests the new URL'
log = logging.getLogger('bpy.ops.%s' % bl_idname)
@ -294,6 +295,7 @@ class PILLAR_OT_subscribe(Operator):
"""Opens a browser to subscribe the user to the Cloud."""
bl_idname = 'pillar.subscribe'
bl_label = 'Subscribe to the Cloud'
bl_description = 'Opens a browser to subscribe the user to the Cloud'
def execute(self, context):
import webbrowser