Commit a452f74f authored by Remi Hardy's avatar Remi Hardy

bug fix

parent 4353880d
......@@ -872,8 +872,9 @@ class RANManagement():
for k in keys:
result =, line)
if result is not None:
#remove all char before u(lsch) or d(lsch)
dlsch_ulsch_stats[k]=re.sub(r'^.*([du])', r'\g<1>' , line.rstrip())
#remove all char before u(lsch) or d(lsch) -> not working for the moment
#dlsch_ulsch_stats[k]=re.sub(r'^.*([du])', r'\g<1>' , line.rstrip())
logging.debug(' File analysis completed')
if (self.air_interface[self.eNB_instance] == 'lte-softmodem') or (self.air_interface[self.eNB_instance] == 'ocp-enb'):
......@@ -907,7 +908,7 @@ class RANManagement():
if len(dlsch_ulsch_stats)!=0: #check if dictionary is not empty
for key in dlsch_ulsch_stats: #for each dictionary key
statMsg += dlsch_ulsch_stats[key]
statMsg += dlsch_ulsch_stats[key] + '\n'
htmleNBFailureMsg += statMsg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment