Added gitignore. Added a check statement to see if response from NE is empty
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Thu, 28 Jun 2012 07:36:51 +0000 (10:36 +0300)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Thu, 28 Jun 2012 07:36:51 +0000 (10:36 +0300)
.gitignore [new file with mode: 0644]
iooclient/eos_ned.py

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..0d20b64
--- /dev/null
@@ -0,0 +1 @@
+*.pyc
index e30cf3c..a1fab4b 100644 (file)
@@ -75,6 +75,8 @@ class eosNed(eos):
             print "Error: Asked for %s but got unexpected output: %s\n" %(message, reply_header)
             return False
         reply = self.get()
+        if reply == "DATA_END_NOTIF[]":
+            return False
         if not parse:
             return reply
         ret = self.parseNeDir(reply)