From 652f107d10f127bc428dae1770792164ba15e20d Mon Sep 17 00:00:00 2001
From: Sergei Trofimov <sergei.trofimov@arm.com>
Date: Tue, 21 Nov 2017 15:10:42 +0000
Subject: [PATCH] framework/workload: fix class attribute docs

Change from free-floating strings into comments and move above the
corresponding attribute.
---
 wa/framework/workload.py | 31 +++++++++++--------------------
 1 file changed, 11 insertions(+), 20 deletions(-)

diff --git a/wa/framework/workload.py b/wa/framework/workload.py
index bbd5cec7..bb1c753b 100644
--- a/wa/framework/workload.py
+++ b/wa/framework/workload.py
@@ -48,35 +48,26 @@ class Workload(TargetedPlugin):
                   """)
     ]
 
+    # Set this to True to mark that this workload poses a risk of exposing
+    # information to the outside world about the device it runs on. An example of
+    # this would be a benchmark application that sends scores and device data to a
+    # database owned by the maintainer.
+    # The user can then set allow_phone_home=False in their configuration to
+    # prevent this workload from being run accidentally.
     phones_home = False
-    """
-    Set this to True to mark that this workload poses a risk of exposing
-    information to the outside world about the device it runs on. An example of
-    this would be a benchmark application that sends scores and device data to a
-    database owned by the maintainer.
-
-    The user can then set allow_phone_home=False in their configuration to
-    prevent this workload from being run accidentally.
-    """
 
+    # Set this to ``True`` to mark the the workload will fail without a network
+    # connection, this enables it to fail early with a clear message.
     requires_network = False
-    """
-    Set this to ``True`` to mark the the workload will fail without a network
-    connection, this enables it to fail early with a clear message.
-    """
 
+    # Set this to specify a custom directory for assets to be pushed to, if unset
+    # the working directory will be used.
     asset_directory = None
-    """
-    Set this to specify a custom directory for assets to be pushed to, if unset
-    the working directory will be used.
-    """
 
+    # Used to store information about workload assets.
     deployable_assets = []
     asset_files = []
     deployed_assets = []
-    """
-    Used to store information about workload assets.
-    """
 
     def init_resources(self, context):
         """