asana_hub/tool.py
def save_issue_data_task(self, issue, task_id, namespace='open'):
        """Saves a issue data (tasks, etc.) to local data.

        Args:
            issue:
                `int`. Github issue number.
            task:
                `int`. Asana task ID.
            namespace:
                `str`. Namespace for storing this issue.
        """

        issue_data = self.get_saved_issue_data(issue, namespace)

        if not issue_data.has_key('tasks'):
            issue_data['tasks'] = [task_id]
        elif task_id not in issue_data['tasks']:
            issue_data['tasks'].append(task_id)
def save_issue_data_task(self, issue, task_id, namespace='open'):
        """Saves a issue data (tasks, etc.) to local data.

        Args:
            issue:
                `int`. Github issue number.
            task:
                `int`. Asana task ID.
            namespace:
                `str`. Namespace for storing this issue.
        """

        issue_data = self.get_saved_issue_data(issue, namespace)

        if not issue_data.has_key('tasks'):
            issue_data['tasks'] = [task_id]
        elif task_id not in issue_data['tasks']:
            issue_data['tasks'].append(task_id)
def save_issue_data_task ( self , issue , task_id , namespace = 'open' ) : issue_data = self . get_saved_issue_data ( issue , namespace ) if not issue_data . has_key ( 'tasks' ) : issue_data [ 'tasks' ] = [ task_id ] elif task_id not in issue_data [ 'tasks' ] : issue_data [ 'tasks' ] . append ( task_id )
Saves a issue data (tasks, etc.) to local data.

        Args:
            issue:
                `int`. Github issue number.
            task:
                `int`. Asana task ID.
            namespace:
                `str`. Namespace for storing this issue.
Saves a issue data ( tasks etc . ) to local data .