Add accessor for Repo._initialized

I will need later on to verify whether a repository has been
initialized. Using the propery _initialized directly cause some linting
errors, so here is a trivial accessor around it.

Change-Id: I1b03031ff31e68115e9bea4e0bbcadf93772a386
changes/87/97487/3
Antoine Musso 9 years ago
parent d3fe17fee9
commit a6529c64eb

@ -58,6 +58,9 @@ class Repo(object):
repo.config_writer().write()
self._initialized = True
def isInitialized(self):
return self._initialized
def createRepoObject(self):
try:
self._ensure_cloned()

Loading…
Cancel
Save