code cleanup

Statement has no effect, optimize the code by removing it

Closes-Bug: #1504758
Change-Id: I93fa51983ae3e9d82db0201c547d5d2a21420a80
This commit is contained in:
Venkateswarlu Pallamala 2015-09-26 09:36:59 -07:00 committed by venkatesh
parent f2333747ac
commit e246b2e0e0

View File

@ -44,8 +44,7 @@ class VersionFactory(object):
__import__(module_name, fromlist=['sahara']),
'VersionHandler')
module = module_class()
key = version.replace('_', '.')
VersionFactory.modules[key] = module
VersionFactory.modules[version] = module
VersionFactory.initialized = True