A few fixes to pep8 fixes

Change-Id: I3141bed5ab50208476eaf59dfa10e240c88073c2
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/state.py b/lib/state.py
index d078483..aeb4d6d 100755
--- a/lib/state.py
+++ b/lib/state.py
@@ -537,7 +537,7 @@
         remote_cmd_buf = "read uptime filler 2>/dev/null < /proc/uptime" +\
             " && [ ! -z \"${uptime}\" ] && echo ${uptime}"
         cmd_buf = ["BMC Execute Command",
-                   re.sub(r'\\$', '\\$', remote_cmd_buf), 'quiet=1']
+                   re.sub('\\$', '\\$', remote_cmd_buf), 'quiet=1']
         if not quiet:
             grp.rpissuing_keyword(cmd_buf)
             grp.rpissuing(remote_cmd_buf)