summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Guppy.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-09-25 15:49:25 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-09-25 15:49:25 -0400
commit3b3ecb4fcba471d33dbd118c02798e6f3f4b9927 (patch)
treeaf85e3850935cd9e076d4e0da29f287fa9dcaefe /src/lib/Bcfg2/Server/Plugins/Guppy.py
parenta74636278353b829f3589f6e671f1d56172b291c (diff)
downloadbcfg2-3b3ecb4fcba471d33dbd118c02798e6f3f4b9927.tar.gz
bcfg2-3b3ecb4fcba471d33dbd118c02798e6f3f4b9927.tar.bz2
bcfg2-3b3ecb4fcba471d33dbd118c02798e6f3f4b9927.zip
various pylint fixes
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Guppy.py')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Guppy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Guppy.py b/src/lib/Bcfg2/Server/Plugins/Guppy.py
index d13e3f061..4f2601f15 100644
--- a/src/lib/Bcfg2/Server/Plugins/Guppy.py
+++ b/src/lib/Bcfg2/Server/Plugins/Guppy.py
@@ -27,6 +27,7 @@ Remote interactive console. To return to Annex, type '-'.
"""
import Bcfg2.Server.Plugin
+from guppy.heapy import Remote
class Guppy(Bcfg2.Server.Plugin.Plugin):
@@ -45,7 +46,6 @@ class Guppy(Bcfg2.Server.Plugin.Plugin):
def Enable(self):
"""Enable remote debugging"""
try:
- from guppy.heapy import Remote
Remote.on()
except:
self.logger.error("Failed to create Heapy context")
@@ -54,7 +54,6 @@ class Guppy(Bcfg2.Server.Plugin.Plugin):
def Disable(self):
"""Disable remote debugging"""
try:
- from guppy.heapy import Remote
Remote.off()
except:
self.logger.error("Failed to disable Heapy")