Anonymous avatar Anonymous committed 91bbb74

Fix __str__() self.cpv fallback.

Comments (0)

Files changed (1)

smart-live-rebuild.py

 			self.subprocess.terminate()
 
 	def __str__(self):
-		return self.cpv
+		return ', '.join(self.cpv)
 
 class GitSupport(VCSSupport):
 	inherit = 'git'
 		return '%s/%s' % (self.env['EGIT_STORE_DIR'], self.env['EGIT_PROJECT'])
 
 	def __str__(self):
-		return self.env['EGIT_REPO_URI'] or self.cpv
+		return self.env['EGIT_REPO_URI'] or VCSSupport.__str__(self)
 
 	def getsavedrev(self):
 		return self.env['EGIT_VERSION']
 		return '%s/hg-src/%s/%s' % (dd, self.env['EHG_PROJECT'], bn)
 
 	def __str__(self):
-		return self.env['EHG_REPO_URI'] or self.cpv
+		return self.env['EHG_REPO_URI'] or VCSSupport.__str__(self)
 
 	def getrev(self):
 		return self.call(['hg', 'tip', '--template', '{node}'] + self.trustopt)
 		return self.env['ESVN_WC_PATH']
 
 	def __str__(self):
-		return self.env['ESVN_REPO_URI'] or self.cpv
+		return self.env['ESVN_REPO_URI'] or VCSSupport.__str__(self)
 
 	def getsavedrev(self):
 		return self.env['ESVN_WC_REVISION']
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.