summaryrefslogtreecommitdiff
path: root/contrib/inventory/rax.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/inventory/rax.py')
-rwxr-xr-xcontrib/inventory/rax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/inventory/rax.py b/contrib/inventory/rax.py
index a9e1be054b..0d0c7b63fd 100755
--- a/contrib/inventory/rax.py
+++ b/contrib/inventory/rax.py
@@ -189,7 +189,7 @@ p = load_config_file()
def rax_slugify(value):
- return 'rax_%s' % (re.sub('[^\w-]', '_', value).lower().lstrip('_'))
+ return 'rax_%s' % (re.sub(r'[^\w-]', '_', value).lower().lstrip('_'))
def to_dict(obj):