fence-agents: master - [cleanup] Remove unused import of modules

Marek GrĂ¡c marx at fedoraproject.org
Wed Apr 23 15:50:52 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=b770d0d321c65ac4d326e4bf9f2937a5af97e5d8
Commit:        b770d0d321c65ac4d326e4bf9f2937a5af97e5d8
Parent:        e44edad253cbd09636a81ac2d4d664218c511dd8
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Wed Apr 23 17:47:15 2014 +0200
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Apr 23 17:47:15 2014 +0200

[cleanup] Remove unused import of modules

---
 fence/agents/cisco_ucs/fence_cisco_ucs.py |    1 -
 fence/agents/lib/fencing.py.py            |    2 +-
 fence/agents/raritan/fence_raritan.py     |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/fence/agents/cisco_ucs/fence_cisco_ucs.py b/fence/agents/cisco_ucs/fence_cisco_ucs.py
index fd4fa6c..b880d8d 100644
--- a/fence/agents/cisco_ucs/fence_cisco_ucs.py
+++ b/fence/agents/cisco_ucs/fence_cisco_ucs.py
@@ -3,7 +3,6 @@
 import sys, re
 import pycurl, StringIO
 import logging
-import time
 import atexit
 sys.path.append("@FENCEAGENTSLIBDIR@")
 from fencing import *
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index 964e613..994d80c 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -1,7 +1,7 @@
 #!/usr/bin/python -tt
 
 import sys, getopt, time, os, uuid, pycurl, stat
-import pexpect, re, atexit, syslog
+import pexpect, re, syslog
 import logging
 import subprocess
 import threading
diff --git a/fence/agents/raritan/fence_raritan.py b/fence/agents/raritan/fence_raritan.py
index efd5605..5224fc0 100644
--- a/fence/agents/raritan/fence_raritan.py
+++ b/fence/agents/raritan/fence_raritan.py
@@ -4,7 +4,7 @@ import sys, re, pexpect
 import atexit
 sys.path.append("@FENCEAGENTSLIBDIR@")
 from fencing import *
-from fencing import fspawn, fail, fail_usage, TELNET_PATH, EC_LOGIN_DENIED, run_delay
+from fencing import fspawn, fail, TELNET_PATH, EC_LOGIN_DENIED, run_delay
 
 #BEGIN_VERSION_GENERATION
 RELEASE_VERSION=""


More information about the cluster-commits mailing list