Commits

Michał Górny  committed 160eb5a

Replace dashes within eclass names with underscores.

  • Participants
  • Parent commits eac6e2d

Comments (0)

Files changed (1)

File SmartLiveRebuild/core.py

 									vcses[vcs] = None
 								else:
 									try:
-										modname = 'SmartLiveRebuild.vcs.%s' % vcs
+										modname = 'SmartLiveRebuild.vcs.%s' % vcs.replace('-', '_')
 										vcses[vcs] = __import__(modname, globals(), locals(), ['myvcs']).myvcs
 									except ImportError:
 										vcses[vcs] = None