Michał Górny avatar Michał Górny committed f3d7bed

Make .cpv a single package id.

Comments (0)

Files changed (2)


 						if ret is not None:
 							needsleep = False
 							if ret:
-								packages.extend(vcs.cpv)
+								packages.append(vcs.cpv)
 							del processes[i]
 					except KeyboardInterrupt:
 					except Exception as e:
 						out.err('Error updating %s: [%s] %s' % (vcs.cpv, e.__class__.__name__, e))
-						erraneous.extend(vcs.cpv)
+						erraneous.append(vcs.cpv)
 						del processes[i]
 				return needsleep


 	def cpv(self):
-		""" A list of CPVs which use this particular repository. """
+		""" A package ID for update requestor. """
 		return self._cpv
 	def __init__(self, cpv, environ, opts):
 					raise NonLiveEbuild('SOME_REVISION specifies revision, package is not really a live one')
-		self._cpv = [cpv]
+		self._cpv = cpv
 		self._opts = opts
 		self.env = environ.copy(*(self.reqenv + self.optenv))
 		""" Return the string used to identify the update process within
 			the program output.
-		return ', '.join(self.cpv)
+		return self.cpv
 	def updatecmd(self):
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.