Skip to content

Commit

Permalink
Merge pull request #15 from hadik3r/master
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
hadik3r authored Dec 6, 2017
2 parents ac74ae1 + ff42b2f commit 62892b0
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion son-sm-template/sonsmbase/smbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import threading
import os
import re
import time
from sonmanobase import messaging


Expand Down Expand Up @@ -89,6 +90,8 @@ def __init__(self,

self.registration()

self.infinity_loop()


def name_validation(self, smtype, sname, fname, name, id):

Expand Down Expand Up @@ -164,4 +167,12 @@ def on_registration_ok(self):
"""
To be overwritten by subclasses
"""
LOG.info("Received registration ok event.")
LOG.info("Received registration ok event.")

def infinity_loop(self):

# go into infinity loop (we could do anything here)

while True:
time.sleep(1)

0 comments on commit 62892b0

Please sign in to comment.