Commits

Anonymous committed 3bccafe

Report only the actually missing envvars in VCSSupport.__init__().

  • Participants
  • Parent commits c095fcb

Comments (0)

Files changed (1)

File SmartLiveRebuild/vcs/__init__.py

 
 		missingvars = [v for v in self.reqenv if self.env[v] == '']
 		if len(missingvars) > 0:
-			raise KeyError('Environment does not declare: %s' % self.reqenv)
+			raise KeyError('Environment does not declare: %s' % missingvars)
 
 	def getpath(self):
 		raise NotImplementedError('VCS class needs to override getpath()')