Here's an alternative to backslashes:
```python
mask = ('mask[openTicketCount,closedTicketCount,'
        'openBillingTicketCount,openOtherTicketCount,'
        'openSalesTicketCount,openSupportTicketCount,'
        'openAccountingTicketCount]')
```