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
This commit is contained in:
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…
Reference in New Issue
Block a user