[Cluster-devel] [PATCH 09/15] [cleanup] Only symbols that should be used are exported from fencing_snmp library

Marek 'marx' Grac mgrac at redhat.com
Wed Apr 2 11:52:17 UTC 2014


---
 fence/agents/lib/fencing_snmp.py.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fence/agents/lib/fencing_snmp.py.py b/fence/agents/lib/fencing_snmp.py.py
index a081052..c5688be 100644
--- a/fence/agents/lib/fencing_snmp.py.py
+++ b/fence/agents/lib/fencing_snmp.py.py
@@ -6,6 +6,8 @@ import re, pexpect
 from fencing import *
 from fencing import fail, fail_usage, EC_TIMED_OUT, LOG_MODE_VERBOSE
 
+__all__ = [ 'FencingSnmp', 'snmp_define_defaults' ]
+
 ## do not add code here.
 #BEGIN_VERSION_GENERATION
 RELEASE_VERSION = ""
-- 
1.9.0




More information about the Cluster-devel mailing list