diff python/poly-utils.py @ 665:15e244d2a1b5

corrected bug with circular import for VideoFilenameAddable, moved to base module
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 20 May 2015 13:57:47 +0200
parents dc2d0a0d7fe1
children 933670761a57
line wrap: on
line diff
--- a/python/poly-utils.py	Wed May 20 12:04:22 2015 +0200
+++ b/python/poly-utils.py	Wed May 20 13:57:47 2015 +0200
@@ -1,13 +1,12 @@
 #! /usr/bin/env python
 '''Various utilities to load data saved by the POLY new output(s)'''
-import sys
-import utils
+
 from moving import  TimeInterval
+from indicators import SeverityIndicator
+
+import sys, utils
 import numpy as np
 
-__metaclass__ = type
-from indicators import SeverityIndicator
-
 
 def loadNewInteractions(videoFilename,interactionType,dirname, extension, indicatorsNames, roaduserNum1,roaduserNum2, selectedIndicators=[]):
     '''Loads interactions from the POLY traffic event format'''