Skip to content

Commit

Permalink
Py3 compatibility fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Jan 30, 2015
1 parent 2d71cd7 commit 4883692
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salt/modules/systemd.py
Expand Up @@ -7,6 +7,8 @@
import logging
import os
import re

# Import 3rd-party libs
import salt.ext.six as six

log = logging.getLogger(__name__)
Expand Down Expand Up @@ -199,7 +201,7 @@ def get_all():
salt '*' service.get_all
'''
return sorted(set(_get_all_units().keys() + _get_all_unit_files().keys()))
return sorted(set(list(_get_all_units().keys()) + list(_get_all_unit_files().keys())))


def available(name):
Expand Down

0 comments on commit 4883692

Please sign in to comment.