Mercurial Hosting > traffic-intelligence
diff python/base.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 | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/base.py Wed May 20 13:57:47 2015 +0200 @@ -0,0 +1,7 @@ +'''Module for few base classes to avoid issues of circular import''' + +class VideoFilenameAddable(object): + 'Base class with the capability to attach a video filename' + + def setVideoFilename(self, videoFilename): + self.videoFilename = videoFilename