diff options
Diffstat (limited to 'theforeman.py')
| -rwxr-xr-x | theforeman.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/theforeman.py b/theforeman.py index b9472d2..809bf3f 100755 --- a/theforeman.py +++ b/theforeman.py @@ -207,8 +207,7 @@ They must be specified via ini file.''' if group is None: return group - group_name = (re.sub("[^A-Za-z0-9\-]", "-", group.get('name')).lower()) - return group_name + return group.get('label') def _get_environment_from_id(self, env_id): """Get environment name""" |
