From 6b74b21453858b9f2e9934cfb8d371857166dd09 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sat, 23 Mar 2013 07:17:30 +0000 Subject: [PATCH] Fix GenericSpecFunctions.ne_string(), call x.strip() directly --- molecule/specs/skel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/molecule/specs/skel.py b/molecule/specs/skel.py index 9770374..4f59685 100644 --- a/molecule/specs/skel.py +++ b/molecule/specs/skel.py @@ -26,7 +26,7 @@ import molecule.utils class GenericSpecFunctions(object): def ne_string(self, x): - return x, 'raw_unicode_escape' + return x.strip() def ne_list(self, x): return x