fence-agents: master - [cleanup] Only symbols that should be used are exported from fencing_snmp library

Marek GrĂ¡c marx at fedoraproject.org
Wed Apr 9 14:49:57 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=16609180f88a7a486e8207c92496fabc0ba5c885
Commit:        16609180f88a7a486e8207c92496fabc0ba5c885
Parent:        46b9a2abda2b9b26d7406fd092b7a255d5191afb
Author:        Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate:    Mon Mar 31 13:46:10 2014 +0200
Committer:     Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Wed Apr 9 16:29:44 2014 +0200

[cleanup] Only symbols that should be used are exported from fencing_snmp library

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

diff --git a/fence/agents/lib/fencing_snmp.py.py b/fence/agents/lib/fencing_snmp.py.py
index 9285703..3709ec8 100644
--- a/fence/agents/lib/fencing_snmp.py.py
+++ b/fence/agents/lib/fencing_snmp.py.py
@@ -7,6 +7,8 @@ import logging
 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 = ""


More information about the cluster-commits mailing list