Compare commits

...

1 Commits

Author SHA1 Message Date
a81c1c80a8 Explicitly use bl_description instead of defaulting to __doc__
__doc__ should end in a period, and bl_description shouldn't.
2017-02-22 16:02:44 +01:00

View File

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