summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2005-11-04 12:19:42 +0000
committerelie <elie>2005-11-04 12:19:42 +0000
commit8e4bedfa9728f73414ad171d262b52cfd05b2f59 (patch)
treec0504ee69a8628c9f1e9d1f362782c713508012d
parent6438301ed423df90d5a5ad079747d66587807368 (diff)
downloadpysnmp-8e4bedfa9728f73414ad171d262b52cfd05b2f59.tar.gz
varBinds made vararg
-rw-r--r--pysnmp/entity/rfc3413/oneliner/ntforg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pysnmp/entity/rfc3413/oneliner/ntforg.py b/pysnmp/entity/rfc3413/oneliner/ntforg.py
index f49fa20..ebe83ed 100644
--- a/pysnmp/entity/rfc3413/oneliner/ntforg.py
+++ b/pysnmp/entity/rfc3413/oneliner/ntforg.py
@@ -71,7 +71,7 @@ class AsynNotificationOriginator(cmdgen.AsynCommandGenerator):
class NotificationOriginator(AsynNotificationOriginator):
def sendNotification(
self, authData, transportTarget, notifyType,
- notificationType, varBinds=None
+ notificationType, *varBinds
):
def __cbFun(sendRequestHandle, errorIndication, appReturn):
appReturn['errorIndication'] = errorIndication